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)
|
||||
count += winding
|
||||
continue
|
||||
if at <= 0:
|
||||
count += winding
|
||||
continue
|
||||
if shouldFill(windingRule, count):
|
||||
yield (prevAt, at, count)
|
||||
prevAt = at
|
||||
if at > 0:
|
||||
if shouldFill(windingRule, count):
|
||||
yield (prevAt, at, count)
|
||||
prevAt = at
|
||||
count += winding
|
||||
|
||||
when defined(pixieLeakCheck):
|
||||
|
|
Loading…
Reference in a new issue