Reactivate new overlap handling.

It appears to work better with the new Curve.getParameterOf()
This commit is contained in:
Jürg Lehni 2015-10-11 10:17:03 +02:00
parent d20cdf5b73
commit 841381f520

View file

@ -598,7 +598,6 @@ PathItem.inject(new function() {
var inter = seg2._intersection,
overlaps = inter && inter._overlaps,
values = Curve.getValues(seg1, seg2);
return !!overlaps;
for (var i = 0, l = overlaps && overlaps.length; i < l; i++) {
if (Curve.getOverlaps(values, overlaps[i]))
return true;