mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
No need to filter intersections if there were no overlaps.
This commit is contained in:
parent
af797df5ba
commit
231dba83b2
1 changed files with 1 additions and 1 deletions
|
@ -807,7 +807,7 @@ PathItem.inject(new function() {
|
|||
if (hasCrossings) {
|
||||
// Divide any remaining intersections that are still part of
|
||||
// valid paths after the removal of overlaps.
|
||||
divideLocations(intersections, function(inter) {
|
||||
divideLocations(intersections, hasOverlaps && function(inter) {
|
||||
// Check both involved curves to see if they're still valid,
|
||||
// meaning they are still part of their paths.
|
||||
var curve1 = inter.getCurve(),
|
||||
|
|
Loading…
Reference in a new issue