Draft: small fix in DXF importer
This commit is contained in:
parent
519d93fa4f
commit
fcefdc0a8d
|
@ -1320,7 +1320,8 @@ def processdxf(document,filename,getShapes=False):
|
||||||
newob.ViewObject.FontSize = draftui.fontsize
|
newob.ViewObject.FontSize = draftui.fontsize
|
||||||
else:
|
else:
|
||||||
st = rawValue(dim,3)
|
st = rawValue(dim,3)
|
||||||
newob.ViewObject.FontSize = float(getdimheight(st))*TEXTSCALING
|
size = getdimheight(st) or 1
|
||||||
|
newob.ViewObject.FontSize = float(size)*TEXTSCALING
|
||||||
else:
|
else:
|
||||||
FreeCAD.Console.PrintMessage("skipping dimensions...\n")
|
FreeCAD.Console.PrintMessage("skipping dimensions...\n")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user