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()