Fix issue with recursive call of Curve.getIntersections().

This commit is contained in:
Jürg Lehni 2013-05-01 18:24:54 -07:00
parent 69f8bdc560
commit 023c8b0432

View file

@ -773,7 +773,8 @@ statics: {
v2s = this.subdivide(v2);
for (var i = 0; i < 2; i++)
for (var j = 0; j < 2; j++)
this.getIntersections(v1s[i], v2s[j], curve1, locations);
this.getIntersections(v1s[i], v2s[j], curve1, curve2,
locations);
}
}
return locations;