mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -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) {
|
if (isNonZero && !isOverlapping) {
|
||||||
windings[i] += windings[j];
|
windings[i] += windings[j];
|
||||||
// Remove path if rule is nonzero and winding
|
// Remove path if rule is nonzero and winding
|
||||||
// changes from nonzero to zero or from zero to
|
// of path and containing path is not zero.
|
||||||
// nonzero between containing path and path.
|
|
||||||
if (windings[i] && windings[j]) {
|
if (windings[i] && windings[j]) {
|
||||||
exclude = excluded[i] = true;
|
exclude = excluded[i] = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue