Arch: fixed OBJ import without GUI - fixes #2305

This commit is contained in:
Yorik van Havre 2016-01-31 16:53:54 -02:00
parent 87da750d56
commit 4cb5de6848

View File

@ -22,7 +22,11 @@
#***************************************************************************
import FreeCAD, DraftGeomUtils, Part, Draft
from DraftTools import translate
if FreeCAD.GuiUp:
from DraftTools import translate
else:
def translate(context,text):
return text
p = Draft.precision()