Fix monotoneCurve calculation for open paths

This commit is contained in:
hkrish 2014-02-02 03:51:46 +01:00
parent de0cfb7e3d
commit ccb9f518b8

View file

@ -1787,7 +1787,7 @@ var Path = PathItem.extend(/** @lends Path# */{
// || !this.getInternalRoughBounds()._containsPoint(point))
// return 0;
curves.push(new Curve(segments[segments.length - 1]._point,
segments[0]._point).getValues());
segments[0]._point));
}
for (i = 0, li = curves.length; i < li; i++) {
crv = curves[i];