fix rough move down on small deltaXY
This commit is contained in:
parent
05dda3f767
commit
b0f1544559
2 changed files with 3 additions and 1 deletions
|
|
@ -394,6 +394,8 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
// new pos for plunge calc
|
||||
deltaXY = 0;
|
||||
}
|
||||
} else if (isRough && deltaZ < 0) {
|
||||
layerPush(point.clone().setZ(lastPoint.z), 0, 0, tool);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -886,7 +886,7 @@ gapp.register("kiri.main", [], (root, exports) => {
|
|||
}
|
||||
|
||||
function switchMode(mode) {
|
||||
setMode(mode, platform.update_size);
|
||||
setMode(mode, null, platform.update_size);
|
||||
}
|
||||
|
||||
function setMode(mode, lock, then) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue