fix 0/1 bucket slicing in slicer2
This commit is contained in:
parent
4ce40c1675
commit
f41d166199
3 changed files with 6 additions and 2 deletions
|
|
@ -293,10 +293,12 @@
|
|||
stepsTotal += sindex.length * 2;
|
||||
if (proc.camContourXOn) stepsTotal += (maxX-minX) / toolStep;
|
||||
if (proc.camContourYOn) stepsTotal += (maxY-minY) / toolStep;
|
||||
|
||||
let slices = slicer.slice(sindex, { each: (data, index, total) => {
|
||||
onupdate(++stepsTaken, stepsTotal, "topo slice");
|
||||
}, genso: true });
|
||||
processSlices(slices.map(data => data.slice));
|
||||
|
||||
processSlices(slices.filter(s => s.lines).map(data => data.slice));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue