re-enable filter for the lathe op

This commit is contained in:
Stewart Allen 2023-03-08 20:45:35 -05:00
commit 85f7d77c08
4 changed files with 5 additions and 4 deletions

View file

@ -1354,7 +1354,7 @@ function doSolidsFill(slice, spacing, angle, minArea, fillQ) {
// parent each solid polygon inside the smallest bounding top
let make_solid_layer = false;
let tops_area = tops.map(top => top.poly.areaDeep()).reduce((a,i) => a+i);
let tops_area = tops.length ? tops.map(top => top.poly.areaDeep()).reduce((a,i) => a+i) : 0;
for (let solid of solids) {
for (let top of tops) {
let stop = [];