fix part offset path routing. fix another empty top case

This commit is contained in:
Stewart Allen 2020-11-17 00:53:17 -05:00
commit e3d91fbdc4
2 changed files with 5 additions and 5 deletions

View file

@ -258,10 +258,10 @@
if ((bigXY || bigZ) && (isMove || midZ)) {
let maxz = getZClearPath(
terrain,
lastPoint.x,
lastPoint.y,
point.x,
point.y,
lastPoint.x - wmx,
lastPoint.y - wmy,
point.x - wmx,
point.y - wmy,
Math.max(point.z, lastPoint.z),
zadd,
maxToolDiam/2,