port bugfix from 4.2

This commit is contained in:
bakedpotatolord 2025-08-19 15:58:15 -06:00
commit 9b809382ec
2 changed files with 10 additions and 4 deletions

View file

@ -302,7 +302,7 @@ class OpRough extends CamOp {
// set winding specified in output
POLY.setWinding(level, cutdir, false);
poly2polyEmit(level, printPoint, (poly, index, count) => {
printPoint = polyEmit(poly, index, count, printPoint);
printPoint = polyEmit(poly, index, count, printPoint, {cutFromLast: true});
});
newLayer();
}