From 4c9554b3e781aa94cfd4e1d5ed0ba623fbc12cbd Mon Sep 17 00:00:00 2001 From: leyghisbb Date: Sun, 30 Aug 2020 11:29:38 +0200 Subject: [PATCH] Removed deprecation from travel extension --- extensions/fablabchemnitz_travel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/fablabchemnitz_travel.py b/extensions/fablabchemnitz_travel.py index bb64e219..01f4da95 100644 --- a/extensions/fablabchemnitz_travel.py +++ b/extensions/fablabchemnitz_travel.py @@ -99,7 +99,7 @@ class Travel(inkex.Effect): doc_h = self.svg.unittouu(svg.get('height')) # get selected items and validate - selected = svg.selection.paint_order() + selected = self.svg.get_z_selected() if not selected: inkex.errormsg('Exactly two objects must be selected: a rect and a template. See "help" for details.') @@ -265,4 +265,4 @@ class Travel(inkex.Effect): attribs['d'] = str(Path(path)) obj_copy = etree.SubElement(group, obj.tag, attribs) -Travel().run() \ No newline at end of file +Travel().run()