mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix issue with recursive call of Curve.getIntersections().
This commit is contained in:
parent
69f8bdc560
commit
023c8b0432
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue