prevent empty slices that were culled in the past

This commit is contained in:
Stewart Allen 2020-04-11 09:26:42 -04:00
commit 104f6c85e3
2 changed files with 2 additions and 1 deletions

View file

@ -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;