prevent dogbones on tabs. fix settings restore order to preserve annotations
This commit is contained in:
parent
62aac14c63
commit
99b9dc476e
3 changed files with 3 additions and 2 deletions
|
|
@ -397,7 +397,7 @@
|
|||
setTool(tool, rate, plunge);
|
||||
let traceTool = new CAM.Tool(settings, tool);
|
||||
let traceToolDiam = traceTool.fluteDiameter();
|
||||
printPoint = poly2polyEmit(slice.camLines, printPoint, polyEmit);
|
||||
printPoint = poly2polyEmit(slice.camLines, printPoint, polyEmit, { swapdir: false });
|
||||
newLayer();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@
|
|||
if (Array.isArray(poly)) {
|
||||
return poly.forEach(p => CAM.addDogbones(p, dist));
|
||||
}
|
||||
if (poly.open) return;
|
||||
let isCW = poly.isClockwise();
|
||||
if (reverse || poly.parent) isCW = !isCW;
|
||||
let oldpts = poly.points.slice();
|
||||
|
|
|
|||
Loading…
Reference in a new issue