Skip to content

Commit

Permalink
Merge branch 'FixSafeZ' into v1.beta4
Browse files Browse the repository at this point in the history
  • Loading branch information
flyfisher604 committed Feb 15, 2021
2 parents fc5a7a7 + 4f2685a commit ed39898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MPCNC.cps
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ function isSafeToRapid(x, y, z) {
let zConstant = (z == cur.z);
let zUp = (z > cur.z);
let xyConstant = ((x == cur.x) && (y == cur.y));
let curZSafe = (cur.z >= properties.mapF_SafeZ);
let curZSafe = (cur.z >= safeZHeight);
// Restore Rapids only when the target Z is safe and
// Case 1: Z is not changing, but XY are
Expand Down

0 comments on commit ed39898

Please sign in to comment.