fix pointy paths in create links
This commit is contained in:
parent
68cf9bd6e6
commit
062317c97f
@ -280,10 +280,11 @@ class LinksCreator(inkex.EffectExtension):
|
||||
length = length - dash
|
||||
idash = (idash + 1) % len(dashes)
|
||||
dash = dashes[idash]
|
||||
if idash % 2:
|
||||
new.append([sub[i]])
|
||||
else:
|
||||
new[-1].append(sub[i])
|
||||
if sub[-1] != sub[i]: #avoid pointy paths
|
||||
if idash % 2:
|
||||
new.append([sub[i]])
|
||||
else:
|
||||
new[-1].append(sub[i])
|
||||
i += 1
|
||||
style.pop('stroke-dasharray')
|
||||
element.pop('sodipodi:type')
|
||||
|
Reference in New Issue
Block a user