Fix for Printing Marks Dotted

This commit is contained in:
Mario Voigt 2020-08-08 23:23:17 +02:00
parent f190593dfb
commit e8ad6d8d16
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Various"/>
<submenu name="Legacy Tools"/>
</submenu>
</effects-menu>
</effect>

View File

@ -186,7 +186,7 @@ class Printing_Marks (inkex.Effect):
for id in self.options.ids:
sel_area[id] = {}
for att in [ "x", "y", "width", "height" ]:
args = [ "inkscape", "-I", id, "--query-"+att, self.svg_file ]
args = [ "inkscape", "-I", id, "--query-"+att, self.options.input_file ]
sel_area[id][att] = scale* \
float(Popen(args, stdout=PIPE, stderr=PIPE).communicate()[0])
current_min_x = sel_area[id]["x"]