diff --git a/src/path/CurveLocation.js b/src/path/CurveLocation.js index 34b877ecee..b66602b7cb 100644 --- a/src/path/CurveLocation.js +++ b/src/path/CurveLocation.js @@ -371,8 +371,8 @@ var CurveLocation = Base.extend(/** @lends CurveLocation# */{ || loc instanceof CurveLocation // Call getCurve() and getParameter() to keep in sync && this.getCurve() === loc.getCurve() - && Math.abs(this.getParameter() - loc.getParameter()) - < /*#=*/Numerical.CURVETIME_EPSILON + && this.getPoint().isClose(loc.getPoint(), + /*#=*/Numerical.GEOMETRIC_EPSILON) && (_ignoreOther || (!this._intersection && !loc._intersection || this._intersection && this._intersection.equals(