After Z, next subpath starts at same position (#53)
* After Z, next subpath starts at same position Fixes #52 * removed old comment to mirror new behaviorpull/48/merge
parent
18b1337877
commit
f932036fb5
|
@ -80,8 +80,7 @@ def parse_path(pathdef, current_pos=0j):
|
||||||
segments.append(Line(current_pos, start_pos))
|
segments.append(Line(current_pos, start_pos))
|
||||||
segments.closed = True
|
segments.closed = True
|
||||||
current_pos = start_pos
|
current_pos = start_pos
|
||||||
start_pos = None
|
command = None
|
||||||
command = None # You can't have implicit commands after closing.
|
|
||||||
|
|
||||||
elif command == 'L':
|
elif command == 'L':
|
||||||
x = elements.pop()
|
x = elements.pop()
|
||||||
|
|
Loading…
Reference in New Issue