fix move logic applied to some cuts

This commit is contained in:
Stewart Allen 2020-12-02 14:33:27 -05:00
commit 8a806ba91a

View file

@ -255,8 +255,7 @@
// new pos for plunge calc // new pos for plunge calc
deltaXY = 0; deltaXY = 0;
} }
} //else } else if (isMove) {
{
// for longer moves, check the terrain to see if we need to go up and over // for longer moves, check the terrain to see if we need to go up and over
const bigXY = (deltaXY > toolDiam); const bigXY = (deltaXY > toolDiam);
const bigZ = (deltaZ > toolDiam/2 && deltaXY > tolerance); const bigZ = (deltaZ > toolDiam/2 && deltaXY > tolerance);