From 5fc0054a77152c1fa4d966e4289d2691ff2f0b09 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Tue, 13 Apr 2021 15:11:57 +0200 Subject: [PATCH] Some small fix in create links --- extensions/fablabchemnitz/create_links.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/fablabchemnitz/create_links.py b/extensions/fablabchemnitz/create_links.py index 251b749a..bb6fa265 100644 --- a/extensions/fablabchemnitz/create_links.py +++ b/extensions/fablabchemnitz/create_links.py @@ -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: