diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-29 10:21:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-29 10:21:25 +0300 |
commit | 737a1a85b4522a056e54cde9c22e2a1eab9223fc (patch) | |
tree | 7fafd9c3d762d883ca109384b340fffe0396dd56 /source/blender/editors/mesh | |
parent | 4338595a97b926bff9b504bc723acd1ee5bef090 (diff) | |
parent | d83f5f0f01de3233395524575dedc857ef03add4 (diff) |
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bisect.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/source/blender/editors/mesh/editmesh_bisect.c b/source/blender/editors/mesh/editmesh_bisect.c index bc8c456889d..ea35d5a9e26 100644 --- a/source/blender/editors/mesh/editmesh_bisect.c +++ b/source/blender/editors/mesh/editmesh_bisect.c @@ -444,15 +444,17 @@ void MESH_OT_bisect(struct wmOperatorType *ot) RNA_def_boolean( ot->srna, "clear_outer", false, "Clear Outer", "Remove geometry in front of the plane"); - RNA_def_float(ot->srna, - "threshold", - 0.0001, - 0.0, - 10.0, - "Axis Threshold", - "Preserves the existing geometry along the cut plane", - 0.00001, - 0.1); + prop = RNA_def_float(ot->srna, + "threshold", + 0.0001, + 0.0, + 10.0, + "Axis Threshold", + "Preserves the existing geometry along the cut plane", + 0.00001, + 0.1); + /* Without higher precision, the default value displays as zero. */ + RNA_def_property_ui_range(prop, 0.0, 10.0, 0.01, 5); WM_operator_properties_gesture_straightline(ot, WM_CURSOR_EDIT); |