fix poly nest check with open polys

This commit is contained in:
Stewart Allen 2020-11-15 19:13:53 -05:00
commit 697f24703d
3 changed files with 8 additions and 7 deletions

View file

@ -5,6 +5,7 @@
* cap path ends
* help dialog
* full bug reports
* .b64 export may not capture or restore tools properly
* onshape mouse mapping option
## 2.4

View file

@ -1007,7 +1007,7 @@
exit = false;
return true;
}
});
}, this.open);
return exit;
};

View file

@ -481,16 +481,16 @@
return conf.length === 0;
});
}
const thru = []; // match thru polys
// const thru = []; // match thru polys
level = level.filter(lp => {
if (lp.level_emit) {
return false;
}
// if (bottm && !clr) {
// const tm = bottm.filter(bp => lp.isEquivalent(bp));
// thru.appendAll(tm);
// return tm.length === 0;
// }
// if (bottm && !clr) {
// const tm = bottm.filter(bp => lp.isEquivalent(bp));
// thru.appendAll(tm);
// return tm.length === 0;
// }
return true;
});
// omit polys that match bottom level polys unless level above is cleared