mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Remove unnecessary _visited check.
This commit is contained in:
parent
ebc956353f
commit
035a3a1b8c
1 changed files with 0 additions and 4 deletions
|
@ -655,10 +655,6 @@ PathItem.inject(new function() {
|
|||
// We've come back to the start, bail out as we're done.
|
||||
drawSegment(seg, null, 'done', i, 'red');
|
||||
break;
|
||||
} else if (seg._visited && (!other || other._visited)) {
|
||||
// TODO: Do we still need to check other too?
|
||||
drawSegment(seg, null, 'visited', i, 'red');
|
||||
break;
|
||||
} else if (!inter && !isValid(seg)) {
|
||||
// Intersections are always part of the resulting path, for
|
||||
// all other segments check the winding contribution to see
|
||||
|
|
Loading…
Reference in a new issue