From e3a2f7f76df04d0a5c95fbecf8b9acfc445d982e Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 24 May 2020 12:18:19 +0200 Subject: [PATCH] PartDesign: [skip ci] fix wrong property values in UI file set step size of angle property to 1.0 --- src/Mod/PartDesign/App/FeatureChamfer.cpp | 2 +- src/Mod/PartDesign/Gui/TaskChamferParameters.ui | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Mod/PartDesign/App/FeatureChamfer.cpp b/src/Mod/PartDesign/App/FeatureChamfer.cpp index dd0c401831..bb70f423e6 100644 --- a/src/Mod/PartDesign/App/FeatureChamfer.cpp +++ b/src/Mod/PartDesign/App/FeatureChamfer.cpp @@ -54,7 +54,7 @@ PROPERTY_SOURCE(PartDesign::Chamfer, PartDesign::DressUp) const char* ChamferTypeEnums[] = {"Equal distance", "Two distances", "Distance and Angle", NULL}; const App::PropertyQuantityConstraint::Constraints floatSize = {0.0,FLT_MAX,0.1}; -const App::PropertyAngle::Constraints floatAngle = {0.0,180.0,0.1}; +const App::PropertyAngle::Constraints floatAngle = {0.0,180.0,1.0}; static App::DocumentObjectExecReturn *validateParameters(int chamferType, double size, double size2, double angle); diff --git a/src/Mod/PartDesign/Gui/TaskChamferParameters.ui b/src/Mod/PartDesign/Gui/TaskChamferParameters.ui index 5fb1177dbb..dd2a80af9e 100644 --- a/src/Mod/PartDesign/Gui/TaskChamferParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskChamferParameters.ui @@ -123,7 +123,7 @@ click again to end selection - 1.000000000000000 + 1.000000000000000 @@ -159,7 +159,7 @@ click again to end selection - 1.000000000000000 + 1.000000000000000 @@ -189,16 +189,16 @@ click again to end selection - 0.000000000000000 + 0.000000000000000 - 180.000000000000000 + 180.000000000000000 - 1.000000000000000 + 1.000000000000000 - 45.000000000000000 + 45.000000000000000