fix null end layer bug
This commit is contained in:
parent
c088b7651e
commit
7e2d6bc060
4 changed files with 7 additions and 4 deletions
|
|
@ -1050,7 +1050,7 @@ var gs_base_polygon = exports;
|
|||
return out;
|
||||
};
|
||||
|
||||
PRO.shortestSegmentLength() {
|
||||
PRO.shortestSegmentLength = function() {
|
||||
var len = Infinity;
|
||||
this.forEachSegment(function(p1, p2) {
|
||||
len = Math.min(len, p1.distTo2D(p2));
|
||||
|
|
|
|||
Loading…
Reference in a new issue