diff options
author | William Reynish <billrey@me.com> | 2019-02-20 23:10:32 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-02-20 23:10:32 +0300 |
commit | 1af810b4ff171caa5342aedd6e019b53408b5a9b (patch) | |
tree | 9f54cac7e2d9585cc9ec371926a95f4ad6a3591f /source/blender/editors/mesh | |
parent | e2cefc7dad9f254649ed74d32e1ce9875e21b947 (diff) |
Units: Use correct units for transform operators
-Use distance for Shrink/Fatten Distance
-Use factor for Smooth Factor
-Use Factor for Randomize Uniform and Normal values
-Use Distance for Randomize distance amount
-Randomize Transform Scale was wrongly using distance
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 3120099693f..ae2abc58a0c 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -2229,7 +2229,7 @@ void MESH_OT_vertices_smooth(wmOperatorType *ot) /* flags */ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; - ot->prop = RNA_def_float(ot->srna, "factor", 0.5f, -10.0f, 10.0f, "Smoothing", "Smoothing factor", 0.0f, 1.0f); + ot->prop = RNA_def_float_factor(ot->srna, "factor", 0.5f, -10.0f, 10.0f, "Smoothing", "Smoothing factor", 0.0f, 1.0f); RNA_def_int(ot->srna, "repeat", 1, 1, 1000, "Repeat", "Number of times to smooth the mesh", 1, 100); WM_operatortype_props_advanced_begin(ot); |