Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-04-29 10:21:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-29 10:21:28 +0300
commit816fc5a308c91e94411e6d4a86e8121295b14be3 (patch)
treed972e4a1798ac0f889e4efcadec911c9a40ad290 /source/blender/editors/mesh
parent737a1a85b4522a056e54cde9c22e2a1eab9223fc (diff)
parent7a475a89eb398ca5f42ddfdef3c04aa8051858f2 (diff)
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_select_similar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_select_similar.c b/source/blender/editors/mesh/editmesh_select_similar.c
index f9651454dee..f3c0da67ecc 100644
--- a/source/blender/editors/mesh/editmesh_select_similar.c
+++ b/source/blender/editors/mesh/editmesh_select_similar.c
@@ -1325,7 +1325,9 @@ void MESH_OT_select_similar(wmOperatorType *ot)
RNA_def_enum(ot->srna, "compare", prop_similar_compare_types, SIM_CMP_EQ, "Compare", "");
- RNA_def_float(ot->srna, "threshold", 0.0f, 0.0f, 1.0f, "Threshold", "", 0.0f, 1.0f);
+ prop = RNA_def_float(ot->srna, "threshold", 0.0f, 0.0f, 1.0f, "Threshold", "", 0.0f, 1.0f);
+ /* Very small values are needed sometimes, similar area of small faces for e.g: see T87823 */
+ RNA_def_property_ui_range(prop, 0.0, 1.0, 0.01, 5);
}
/** \} */