fix tip2tip emit using wrong last point for open polys

This commit is contained in:
Stewart Allen 2020-03-11 08:37:49 -04:00
commit 2b8734d27c
2 changed files with 17 additions and 6 deletions

View file

@ -1342,6 +1342,7 @@ let gs_kiri_cam = exports;
}, false);
});
newLayer();
return lastPoint;
}
});
break;
@ -1411,6 +1412,7 @@ let gs_kiri_cam = exports;
camOut(point.clone(), pidx > 0);
}, false);
newLayer();
return lastPoint;
});
} else {
setTool(process.finishingTool, process.finishingSpeed, process.finishingPlunge);
@ -1424,6 +1426,7 @@ let gs_kiri_cam = exports;
camOut(point.clone(), pidx > 0);
}, false);
newLayer();
return lastPoint;
});
// deferred linear y finishing
if (depthData.lineary.length > 0)
@ -1434,6 +1437,7 @@ let gs_kiri_cam = exports;
camOut(point.clone(), pidx > 0);
}, false);
newLayer();
return lastPoint;
});
}
}