+ set DBL_MAX as maximum for units
This commit is contained in:
parent
428b47d74a
commit
c9ab183bf4
|
@ -26,6 +26,7 @@
|
|||
#ifndef _PreComp_
|
||||
# include <boost/version.hpp>
|
||||
# include <boost/filesystem/path.hpp>
|
||||
# include <cfloat>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
|
@ -45,7 +46,7 @@ using namespace Base;
|
|||
using namespace std;
|
||||
|
||||
|
||||
const PropertyQuantityConstraint::Constraints LengthStandard = {0.0,(double)INT_MAX,1.0};
|
||||
const PropertyQuantityConstraint::Constraints LengthStandard = {0.0,DBL_MAX,1.0};
|
||||
const PropertyQuantityConstraint::Constraints AngleStandard = {-360,360,1.0};
|
||||
|
||||
//**************************************************************************
|
||||
|
|
Loading…
Reference in New Issue
Block a user