Removed deprecation from travel extension
This commit is contained in:
parent
97d63b969d
commit
4c9554b3e7
@ -99,7 +99,7 @@ class Travel(inkex.Effect):
|
|||||||
doc_h = self.svg.unittouu(svg.get('height'))
|
doc_h = self.svg.unittouu(svg.get('height'))
|
||||||
|
|
||||||
# get selected items and validate
|
# get selected items and validate
|
||||||
selected = svg.selection.paint_order()
|
selected = self.svg.get_z_selected()
|
||||||
|
|
||||||
if not selected:
|
if not selected:
|
||||||
inkex.errormsg('Exactly two objects must be selected: a rect and a template. See "help" for details.')
|
inkex.errormsg('Exactly two objects must be selected: a rect and a template. See "help" for details.')
|
||||||
|
Reference in New Issue
Block a user