[TD] reduce scaling increment
see https://forum.freecadweb.org/viewtopic.php?f=35&t=42780
This commit is contained in:
@@ -82,7 +82,7 @@ using namespace std;
|
||||
|
||||
App::PropertyFloatConstraint::Constraints DrawGeomHatch::scaleRange = {Precision::Confusion(),
|
||||
std::numeric_limits<double>::max(),
|
||||
pow(10,- Base::UnitsApi::getDecimals())};
|
||||
(0.1)}; // increment by 0.1
|
||||
|
||||
PROPERTY_SOURCE(TechDraw::DrawGeomHatch, App::DocumentObject)
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ using namespace std;
|
||||
|
||||
App::PropertyFloatConstraint::Constraints DrawPage::scaleRange = {Precision::Confusion(),
|
||||
std::numeric_limits<double>::max(),
|
||||
pow(10,- Base::UnitsApi::getDecimals())};
|
||||
(0.1)}; // increment by 0.1
|
||||
|
||||
PROPERTY_SOURCE(TechDraw::DrawPage, App::DocumentObject)
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ const char* DrawView::ScaleTypeEnums[]= {"Page",
|
||||
NULL};
|
||||
App::PropertyFloatConstraint::Constraints DrawView::scaleRange = {Precision::Confusion(),
|
||||
std::numeric_limits<double>::max(),
|
||||
pow(10,- Base::UnitsApi::getDecimals())};
|
||||
(0.1)}; // increment by 0.1
|
||||
|
||||
|
||||
PROPERTY_SOURCE(TechDraw::DrawView, App::DocumentObject)
|
||||
|
||||
Reference in New Issue
Block a user