Fixed DXF plugin to work with new inkex library.

This commit is contained in:
Michael Schwarz 2014-12-06 13:53:16 +01:00
parent 30487e03f4
commit eb74f4e6d9

View file

@ -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):