Some small fix in create links

This commit is contained in:
Mario Voigt 2021-04-13 15:11:57 +02:00
parent 18dc01e884
commit 5fc0054a77
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ import copy
import re
import inkex
from inkex import bezier, Path, CubicSuperPath, Group, PathElement
from inkex import bezier, CubicSuperPath, Group, PathElement
from inkex.bezier import csplength
@ -62,7 +62,7 @@ class LinksCreator(inkex.EffectExtension):
parent = node.getparent()
idx = parent.index(node)
idSuffix = 0
raw = Path(node.get("d")).to_arrays()
raw = node.path.to_arrays()
subPaths, prev = [], 0
for i in range(len(raw)): # Breaks compound paths into simple paths
if raw[i][0] == 'M' and i != 0: