remove dead tab code. clear tabs and supports on scale events

This commit is contained in:
Stewart Allen 2020-11-26 00:14:45 -05:00
commit d020a94b53
8 changed files with 14 additions and 126 deletions

View file

@ -78,7 +78,7 @@
tnode.m_Childs.forEach(function(child) {
poly = fromClipperNode(child, z);
// throw out all tiny polygons
if (poly.area() < min) {
if (!poly.open && poly.area() < min) {
return;
}
if (parent) {
@ -99,7 +99,7 @@
tnode.m_Childs.forEach(function(child) {
poly = fromClipperNode(child, z);
if (minarea && poly.area() < minarea) {
if (!poly.open && minarea && poly.area() < minarea) {
return;
}
if (parent) {