work around faulty tab segment length detection
This commit is contained in:
parent
65360cdf8b
commit
2c2b518b57
1 changed files with 4 additions and 6 deletions
|
|
@ -635,12 +635,10 @@ var gs_base_polygon = exports;
|
|||
}
|
||||
poly.setOpen();
|
||||
poly.push(i1);
|
||||
if (delta < this.length / 2) {
|
||||
this.forEachPoint(function(p, pos) {
|
||||
poly.push(p);
|
||||
if (p === i2.p1) return true;
|
||||
}, true, start);
|
||||
}
|
||||
this.forEachPoint(function(p, pos) {
|
||||
poly.push(p);
|
||||
if (p === i2.p1) return true;
|
||||
}, true, start);
|
||||
poly.push(i2);
|
||||
return poly;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue