fix first poly out color. eliminate dup poly out
This commit is contained in:
parent
0c0046b1c5
commit
e6f4382b30
2 changed files with 5 additions and 2 deletions
|
|
@ -193,6 +193,9 @@
|
|||
}
|
||||
} else {
|
||||
cur.paths.push({ index, faces, z: poly.getZ() });
|
||||
if (opts.color) {
|
||||
cur.cpath = [ Object.assign({ start: 0, count: Infinity }, opts.color) ];
|
||||
}
|
||||
}
|
||||
this.stats.contour++;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue