fix nested trace elements when clearing (poly area bug), fix shadowZ poly union, fix hidden cam animate
This commit is contained in:
parent
e967fd3b2f
commit
7d3b210ed9
8 changed files with 35 additions and 12 deletions
|
|
@ -359,7 +359,7 @@ export function subtract(setA, setB, outA, outB, z, minArea, opt = {}) {
|
|||
|
||||
function filter(from, to = []) {
|
||||
from.forEach(function(poly) {
|
||||
if (poly.area() >= min) {
|
||||
if (poly.area() >= min && poly.length > 2) {
|
||||
to.push(poly);
|
||||
out.push(poly);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue