Some more code fixes.

One was breaking unit tests.
This commit is contained in:
Jürg Lehni 2015-09-09 08:15:43 +02:00
parent 155442e706
commit abf70378fe
2 changed files with 3 additions and 3 deletions
src/path

View file

@ -104,8 +104,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{
// Self intersecting is found by dividing the curve in two
// and and then applying the normal curve intersection code.
var parts = Curve.subdivide(values1);
Curve._getIntersections(
parts[0], parts[1], curve1, curve1, locations, {
Curve._getIntersections(parts[0], parts[1], curve1, curve1,
locations, {
// Only possible if there is only one curve:
startConnected: length1 === 1,
// After splitting, the end is always connected: