mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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) {
|
if (hasCrossings) {
|
||||||
// Divide any remaining intersections that are still part of
|
// Divide any remaining intersections that are still part of
|
||||||
// valid paths after the removal of overlaps.
|
// 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,
|
// Check both involved curves to see if they're still valid,
|
||||||
// meaning they are still part of their paths.
|
// meaning they are still part of their paths.
|
||||||
var curve1 = inter.getCurve(),
|
var curve1 = inter.getCurve(),
|
||||||
|
|
Loading…
Reference in a new issue