mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Improve getCurveIntersections() for use with neighboring curves.
As needed by bezier offsetting code.
This commit is contained in:
parent
5736ebaa19
commit
1b50355585
1 changed files with 2 additions and 2 deletions
|
@ -2161,8 +2161,8 @@ new function() { // Scope for intersection using bezier fat-line clipping
|
||||||
// Do not compare indices to determine connection, since
|
// Do not compare indices to determine connection, since
|
||||||
// one array of curves can contain curves from separate
|
// one array of curves can contain curves from separate
|
||||||
// sup-paths of a compound path.
|
// sup-paths of a compound path.
|
||||||
excludeStart: self && curve1.getPrevious() === curve2,
|
excludeStart: curve1.getPrevious() === curve2,
|
||||||
excludeEnd: self && curve1.getNext() === curve2
|
excludeEnd: curve1.getNext() === curve2
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue