diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index 9c5b89ba..1276116f 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -679,9 +679,7 @@ PathItem.inject(new function() { function findBestIntersection(segment) { var inter = segment._intersection, start = inter; - if (!inter || !inter._next) - return inter; - while (inter && inter !== start) { + while (inter) { var other = inter._segment, next = other.getNext(), nextInter = next && next._intersection;