PartDesign: [skip ci] fix wrong property values in UI file
set step size of angle property to 1.0
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ click again to end selection</string>
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="chamferSize" native="true">
|
||||
<property name="value">
|
||||
<number>1.000000000000000</number>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -159,7 +159,7 @@ click again to end selection</string>
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="chamferSize2" native="true">
|
||||
<property name="value">
|
||||
<number>1.000000000000000</number>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -189,16 +189,16 @@ click again to end selection</string>
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="chamferAngle" native="true">
|
||||
<property name="minimum">
|
||||
<number>0.000000000000000</number>
|
||||
<double>0.000000000000000</double>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>180.000000000000000</number>
|
||||
<double>180.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<number>1.000000000000000</number>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>45.000000000000000</number>
|
||||
<double>45.000000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user