From 023c8b043262047f51a014c422d29443af9b77a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=88rg=20Lehni?= Date: Wed, 1 May 2013 18:24:54 -0700 Subject: [PATCH] Fix issue with recursive call of Curve.getIntersections(). --- src/path/Curve.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/path/Curve.js b/src/path/Curve.js index 5dd6be5f..ed430f99 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -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;