use Icons for Refine and Increase tolerance features

This commit is contained in:
Sebastian Hoogen
2014-09-25 22:15:56 +02:00
committed by wmayer
parent 6157cf3c4a
commit 7db2cdc008
4 changed files with 12 additions and 63 deletions

View File

@@ -92,7 +92,7 @@ def insert(filename,docname):
groupname = os.path.splitext(os.path.basename(filename))[0]
try:
doc=FreeCAD.getDocument(docname)
except FreeCAD.Base.FreeCADError:
except NameError:
doc=FreeCAD.newDocument(docname)
#importgroup = doc.addObject("App::DocumentObjectGroup",groupname)
if filename.lower().endswith('.scad'):