fix support infill

This commit is contained in:
Stewart Allen 2020-11-22 20:21:41 -05:00
commit 3524bce930
3 changed files with 5 additions and 5 deletions

View file

@ -696,9 +696,9 @@
// support polygon
next.setZ(z);
outputTraces([next].appendAll(next.inner || []));
if (next.fills) {
next.fills.forEach(function(p) { p.z = z });
outputFills(next.fills, {fast: true});
if (next.fill) {
next.fill.forEach(function(p) { p.z = z });
outputFills(next.fill, {fast: true});
}
} else {
// top object