mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-01 00:29:29 -04:00
Some more code fixes.
One was breaking unit tests.
This commit is contained in:
parent
155442e706
commit
abf70378fe
2 changed files with 3 additions and 3 deletions
src/path
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue