summaryrefslogtreecommitdiff
path: root/support/dxf_export
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2014-12-06 13:53:16 +0100
committerMichael Schwarz <michi.schwarz@gmail.com>2014-12-20 21:12:55 +0100
commiteb74f4e6d9a9a006d30deb9ca4673f21e01e1a7f (patch)
tree2940e5adab14500b0c9e083ef661159377c53836 /support/dxf_export
parent30487e03f4fedfc531252246796bb11c48e635da (diff)
downloadpogojig-eb74f4e6d9a9a006d30deb9ca4673f21e01e1a7f.tar.gz
pogojig-eb74f4e6d9a9a006d30deb9ca4673f21e01e1a7f.tar.bz2
pogojig-eb74f4e6d9a9a006d30deb9ca4673f21e01e1a7f.zip
Fixed DXF plugin to work with new inkex library.
Diffstat (limited to 'support/dxf_export')
-rwxr-xr-xsupport/dxf_export/better_dxf_outlines.py2
1 files changed, 1 insertions, 1 deletions
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):