fix boundary check on z lift and move
This commit is contained in:
parent
d898a23449
commit
27d4081b08
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
||||||
clearz = maxz = zmax + zadd;
|
clearz = maxz = zmax + zadd;
|
||||||
}
|
}
|
||||||
// up if any point between higher than start/outline, go up first
|
// up if any point between higher than start/outline, go up first
|
||||||
const zIsBelow = point.z < maxz;
|
const zIsBelow = point.z <= maxz;
|
||||||
if (mustGoUp || zIsBelow) {
|
if (mustGoUp || zIsBelow) {
|
||||||
const zClearance = clearz + ztOff;
|
const zClearance = clearz + ztOff;
|
||||||
if (zIsBelow) {
|
if (zIsBelow) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue