Draft: small fix in DXF importer

This commit is contained in:
Yorik van Havre 2015-07-20 10:27:25 -03:00
parent 519d93fa4f
commit fcefdc0a8d

View File

@ -1320,7 +1320,8 @@ def processdxf(document,filename,getShapes=False):
newob.ViewObject.FontSize = draftui.fontsize
else:
st = rawValue(dim,3)
newob.ViewObject.FontSize = float(getdimheight(st))*TEXTSCALING
size = getdimheight(st) or 1
newob.ViewObject.FontSize = float(size)*TEXTSCALING
else:
FreeCAD.Console.PrintMessage("skipping dimensions...\n")