better this way
This commit is contained in:
parent
70232e87e6
commit
0fa2a9fe6b
1 changed files with 4 additions and 6 deletions
|
@ -1137,12 +1137,10 @@ iterator walk(
|
||||||
# between zero and nonzero (or the last hit)
|
# between zero and nonzero (or the last hit)
|
||||||
count += winding
|
count += winding
|
||||||
continue
|
continue
|
||||||
if at <= 0:
|
if at > 0:
|
||||||
count += winding
|
if shouldFill(windingRule, count):
|
||||||
continue
|
yield (prevAt, at, count)
|
||||||
if shouldFill(windingRule, count):
|
prevAt = at
|
||||||
yield (prevAt, at, count)
|
|
||||||
prevAt = at
|
|
||||||
count += winding
|
count += winding
|
||||||
|
|
||||||
when defined(pixieLeakCheck):
|
when defined(pixieLeakCheck):
|
||||||
|
|
Loading…
Reference in a new issue