fix output support polys
This commit is contained in:
parent
2c3d31e431
commit
f1cd5f90c5
1 changed files with 1 additions and 1 deletions
|
|
@ -475,7 +475,7 @@ var gs_kiri_print = exports;
|
||||||
if (next instanceof Polygon) {
|
if (next instanceof Polygon) {
|
||||||
// support polygon
|
// support polygon
|
||||||
next.setZ(z);
|
next.setZ(z);
|
||||||
outputTraces([].appendAll(next).appendAll(next.inner || []));
|
outputTraces([next].appendAll(next.inner || []));
|
||||||
if (next.fills) {
|
if (next.fills) {
|
||||||
next.fills.forEach(function(p) { p.z = z });
|
next.fills.forEach(function(p) { p.z = z });
|
||||||
outputFills(next.fills, next.inner);
|
outputFills(next.fills, next.inner);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue