bugfix in VH to Line converter
This commit is contained in:
parent
7a824ff6da
commit
56adeb615a
@ -41,9 +41,8 @@ class VHToLine(inkex.Effect):
|
|||||||
|
|
||||||
seg = []
|
seg = []
|
||||||
for simpath in subpaths:
|
for simpath in subpaths:
|
||||||
closed = False
|
|
||||||
if simpath[-1][0] == 'Z':
|
if simpath[-1][0] == 'Z':
|
||||||
closed = True
|
simpath[-1][0] = 'L'
|
||||||
if simpath[-2][0] == 'L': simpath[-1][1] = simpath[0][1]
|
if simpath[-2][0] == 'L': simpath[-1][1] = simpath[0][1]
|
||||||
else: simpath.pop()
|
else: simpath.pop()
|
||||||
for i in range(len(simpath)):
|
for i in range(len(simpath)):
|
||||||
|
Reference in New Issue
Block a user