Adjust comment by @iconexperience.

As outlined here: https://github.com/paperjs/paper.js/issues/854#issuecomment-167334294
This commit is contained in:
Jürg Lehni 2015-12-26 19:45:55 +01:00
parent 386632b0be
commit 463f50a0c1

View file

@ -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;