Skip to content

Commit

Permalink
added check for toolcount to not display toolhead offset on single he…
Browse files Browse the repository at this point in the history
…ad machines
  • Loading branch information
FarMcKon committed Mar 8, 2012
1 parent 72c181f commit 2647c80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/replicatorg/drivers/gen3/MightyBoard.java
Expand Up @@ -770,7 +770,10 @@ public void setAxisHomeOffset(int axis, double offset) {
}

@Override
public boolean hasToolheadsOffset() { return true;}
public boolean hasToolheadsOffset() {
if (machine.getTools().size() == 1) return false;
return true;
}

@Override
public double getToolheadsOffset(int axis) {
Expand Down

0 comments on commit 2647c80

Please sign in to comment.