remove dead tab code. clear tabs and supports on scale events
This commit is contained in:
parent
25e198ec5f
commit
d020a94b53
8 changed files with 14 additions and 126 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue