fix topo slices without resolved tops (image imports)

This commit is contained in:
Stewart Allen 2020-11-27 23:11:07 -05:00
commit e477c50498

View file

@ -354,7 +354,9 @@
ondone(newslices);
}
let slicer = new KIRI.slicer2(widget.getPoints(), { swapX: true });
let slicer = new KIRI.slicer2(widget.getPoints(), {
swapX: true, emptyok: true, notopok: true
});
let sindex = slicer.interval(resolution);
stepsTotal += sindex.length * 2;
if (proc.camContourXOn) stepsTotal += (maxX-minX) / toolStep;