Draft: fixed precision problem - fixes #1940

This commit is contained in:
Yorik van Havre 2015-09-04 12:43:09 -03:00
parent 91b2506ccc
commit 989a5fa933

View File

@ -32,7 +32,7 @@ from FreeCAD import Vector, Matrix
params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft")
def precision():
return params.GetInt("precision")
return params.GetInt("precision",6)
def typecheck (args_and_types, name="?"):
for v,t in args_and_types: