From eb74f4e6d9a9a006d30deb9ca4673f21e01e1a7f Mon Sep 17 00:00:00 2001 From: Michael Schwarz Date: Sat, 6 Dec 2014 13:53:16 +0100 Subject: Fixed DXF plugin to work with new inkex library. --- support/dxf_export/better_dxf_outlines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') diff --git a/support/dxf_export/better_dxf_outlines.py b/support/dxf_export/better_dxf_outlines.py index 19ec6c8..2757fa9 100755 --- a/support/dxf_export/better_dxf_outlines.py +++ b/support/dxf_export/better_dxf_outlines.py @@ -95,7 +95,7 @@ class MyEffect(inkex.Effect): self.dxf_add( dxf_templates.r14_header ) scale = 25.4/90.0 - h = inkex.unittouu(self.document.getroot().xpath('@height',namespaces=inkex.NSS)[0]) + h = self.unittouu(self.document.getroot().xpath('@height',namespaces=inkex.NSS)[0]) path = '//svg:path' for node in self.document.getroot().xpath(path,namespaces=inkex.NSS): -- cgit