prevent empty slices that were culled in the past
This commit is contained in:
parent
4d026fce98
commit
104f6c85e3
2 changed files with 2 additions and 1 deletions
|
|
@ -979,7 +979,7 @@ var gs_kiri_cam = exports;
|
|||
}
|
||||
|
||||
// horizontal slices for rough/finish
|
||||
doSlicing(widget, {height: sliceDepth, cam:true, zmin:proc.camZBottom}, camSlicesDone, function(update) {
|
||||
doSlicing(widget, {height: sliceDepth, cam:true, zmin:proc.camZBottom, noEmpty:true}, camSlicesDone, function(update) {
|
||||
onupdate(0.0 + update * 0.25, "slicing");
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -472,6 +472,7 @@ var gs_kiri_slicer = exports;
|
|||
|
||||
// allow empty slices in CAM swap mode (for topos w/ gaps)
|
||||
// if (lines.length == 0 && !(options.swapX || options.swapY)) return;
|
||||
if (lines.length == 0 && options.noEmpty) return;
|
||||
|
||||
slice.height = height;
|
||||
slice.index = slices.length;
|
||||
|
|
|
|||
Loading…
Reference in a new issue