fix slice setPoints() in SLA mode

This commit is contained in:
Stewart Allen 2026-04-29 16:14:23 -04:00
commit bf0f698a4b

View file

@ -207,6 +207,10 @@ export function sla_slice(settings, widget, onupdate, ondone) {
let bounds = widget.getBoundingBox();
let points = widget.getPoints();
if (isConcurrent) {
minions.setPoints(points);
}
slicer.slice(points, {
indices: process.indices || process.xray,
union: controller.healMesh,
@ -229,6 +233,7 @@ export function sla_slice(settings, widget, onupdate, ondone) {
return newSlice(z).addTops(tops);
});
onSliceDone(slices).then(ondone);
minions.setPoints([]);
});
};