fix pointy paths in create links

This commit is contained in:
Mario Voigt 2021-10-16 16:12:05 +02:00
parent 68cf9bd6e6
commit 062317c97f
1 changed files with 5 additions and 4 deletions

View File

@ -280,6 +280,7 @@ class LinksCreator(inkex.EffectExtension):
length = length - dash
idash = (idash + 1) % len(dashes)
dash = dashes[idash]
if sub[-1] != sub[i]: #avoid pointy paths
if idash % 2:
new.append([sub[i]])
else: