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({
|
minwork.queue({
|
||||||
cmd: "clip",
|
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),
|
lines: codec.encode(lines.map(array => codec.encodePointArray2D(array, state)), state),
|
||||||
z: slice.z
|
z: slice.z
|
||||||
}, data => {
|
}, data => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue