fix shell depth cues used for extrusion speed

This commit is contained in:
Stewart Allen 2021-03-12 14:44:05 -05:00
commit 4a0a000ef9
2 changed files with 20 additions and 0 deletions

View file

@ -609,6 +609,11 @@
if (p.fill_off) {
p.fill_off.forEach(pi => pi.depth = i);
}
if (p.inner) {
for (let pi of p.inner) {
pi.depth = p.depth;
}
}
top.shells.push(p);
});
last = polys;
@ -643,6 +648,11 @@
// use negative offset for inners
pi.depth = -(count - countNow);
});
if (p.inner) {
for (let pi of p.inner) {
pi.depth = p.depth;
}
}
});
});
}