mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Mark all segments as visited when processing intersection and subtraction, not just overlaps.
This commit is contained in:
parent
af5a5b5f2d
commit
8da82fed19
1 changed files with 3 additions and 3 deletions
|
@ -610,9 +610,9 @@ PathItem.inject(new function() {
|
|||
// segment. See isValid()/getWinding() for explanations.
|
||||
// We are at a crossing and the other segment is part of
|
||||
// the boolean result, switch over.
|
||||
// We need to mark overlap segments as visited when
|
||||
// processing intersection and subtraction.
|
||||
if (operator && inter._overlap
|
||||
// We need to mark segments as visited when processing
|
||||
// intersection and subtraction.
|
||||
if (operator
|
||||
&& (operator.intersect || operator.subtract)) {
|
||||
seg._visited = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue