Cleaned import name
This commit is contained in:
parent
82294d5540
commit
14c8047e8c
@ -349,7 +349,7 @@ class DXFDWGImport(inkex.Effect):
|
|||||||
p = etree.XMLParser(huge_tree=True)
|
p = etree.XMLParser(huge_tree=True)
|
||||||
doc = etree.parse(stream, parser=etree.XMLParser(huge_tree=True)).getroot()
|
doc = etree.parse(stream, parser=etree.XMLParser(huge_tree=True)).getroot()
|
||||||
stream.close()
|
stream.close()
|
||||||
doc.set('id', self.svg.get_unique_id('dxf_dwg_import'))
|
doc.set('id', self.svg.get_unique_id("dxf_dwg_import-" + self.options.dxf_to_svg_parser + "-"))
|
||||||
self.document.getroot().append(doc)
|
self.document.getroot().append(doc)
|
||||||
|
|
||||||
#get children of the doc and move them one group above - we don't do this for bjnortier tool because this has different structure which we don't want to disturb
|
#get children of the doc and move them one group above - we don't do this for bjnortier tool because this has different structure which we don't want to disturb
|
||||||
|
Reference in New Issue
Block a user