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 behavior
pull/48/merge
mdejean 2018-06-02 03:49:49 -04:00 committed by Andy Port
parent 18b1337877
commit f932036fb5
1 changed files with 1 additions and 2 deletions

View File

@ -80,8 +80,7 @@ def parse_path(pathdef, current_pos=0j):
segments.append(Line(current_pos, start_pos))
segments.closed = True
current_pos = start_pos
start_pos = None
command = None # You can't have implicit commands after closing.
command = None
elif command == 'L':
x = elements.pop()