patch corner case for routing in some contour paths
This commit is contained in:
parent
52dfa1aff4
commit
9432eaba42
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
const bigXY = (deltaXY > moveLen);
|
||||
const bigZ = (deltaZ > toolDiam/2 && deltaXY > tolerance);
|
||||
const midZ = (absDeltaZ >= tolerance);
|
||||
if ((bigXY || bigZ) && midZ) {
|
||||
if (bigXY || bigZ || midZ) {
|
||||
let maxz = getZClearPath(
|
||||
terrain,
|
||||
lastPoint.x - wmx,
|
||||
|
|
|
|||
Loading…
Reference in a new issue