fix slice setPoints() in SLA mode
This commit is contained in:
parent
4d8ca0cdcf
commit
bf0f698a4b
1 changed files with 5 additions and 0 deletions
|
|
@ -207,6 +207,10 @@ export function sla_slice(settings, widget, onupdate, ondone) {
|
||||||
let bounds = widget.getBoundingBox();
|
let bounds = widget.getBoundingBox();
|
||||||
let points = widget.getPoints();
|
let points = widget.getPoints();
|
||||||
|
|
||||||
|
if (isConcurrent) {
|
||||||
|
minions.setPoints(points);
|
||||||
|
}
|
||||||
|
|
||||||
slicer.slice(points, {
|
slicer.slice(points, {
|
||||||
indices: process.indices || process.xray,
|
indices: process.indices || process.xray,
|
||||||
union: controller.healMesh,
|
union: controller.healMesh,
|
||||||
|
|
@ -229,6 +233,7 @@ export function sla_slice(settings, widget, onupdate, ondone) {
|
||||||
return newSlice(z).addTops(tops);
|
return newSlice(z).addTops(tops);
|
||||||
});
|
});
|
||||||
onSliceDone(slices).then(ondone);
|
onSliceDone(slices).then(ondone);
|
||||||
|
minions.setPoints([]);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue