mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Adjust comment by @iconexperience.
As outlined here: https://github.com/paperjs/paper.js/issues/854#issuecomment-167334294
This commit is contained in:
parent
386632b0be
commit
463f50a0c1
1 changed files with 1 additions and 2 deletions
|
@ -815,8 +815,7 @@ PathItem.inject(new function() {
|
|||
if (isNonZero && !isOverlapping) {
|
||||
windings[i] += windings[j];
|
||||
// Remove path if rule is nonzero and winding
|
||||
// changes from nonzero to zero or from zero to
|
||||
// nonzero between containing path and path.
|
||||
// of path and containing path is not zero.
|
||||
if (windings[i] && windings[j]) {
|
||||
exclude = excluded[i] = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue