From 1b5035558535cac221a0f924cfd60818e348bc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 11 Feb 2017 21:19:37 +0100 Subject: [PATCH] Improve getCurveIntersections() for use with neighboring curves. As needed by bezier offsetting code. --- src/path/Curve.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path/Curve.js b/src/path/Curve.js index f1655034..192891e8 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -2161,8 +2161,8 @@ new function() { // Scope for intersection using bezier fat-line clipping // Do not compare indices to determine connection, since // one array of curves can contain curves from separate // sup-paths of a compound path. - excludeStart: self && curve1.getPrevious() === curve2, - excludeEnd: self && curve1.getNext() === curve2 + excludeStart: curve1.getPrevious() === curve2, + excludeEnd: curve1.getNext() === curve2 } ); }