[PD] attempt to use more reasonable angle limit for drafts

using e.g. 89.999 as angle works. It might not be useful in real life, but the 89.99 seem arbitrary.
This commit is contained in:
donovaly
2021-03-03 14:00:21 +01:00
committed by wwmayer
parent 0f3e98588f
commit 42bf2c8285

View File

@@ -67,8 +67,7 @@ using namespace PartDesign;
PROPERTY_SOURCE(PartDesign::Draft, PartDesign::DressUp)
App::PropertyAngle::Constraints Draft::floatAngle = {0.0,89.99,0.1};
App::PropertyAngle::Constraints Draft::floatAngle = { 0.0, 90.0 - Base::toDegrees<double>(Precision::Angular()), 0.1 };
Draft::Draft()
{