fix threaded clipping with inner polys
This commit is contained in:
parent
2496b2c278
commit
d4e867fd2d
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ kiri.minions = {
|
|||
|
||||
minwork.queue({
|
||||
cmd: "clip",
|
||||
polys: codec.encode(polys.map(poly => codec.encodePointArray2D(poly.points, state)), state),
|
||||
polys: codec.encode(POLY.flatten(polys).map(poly => codec.encodePointArray2D(poly.points, state)), state),
|
||||
lines: codec.encode(lines.map(array => codec.encodePointArray2D(array, state)), state),
|
||||
z: slice.z
|
||||
}, data => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue