diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 02:19:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 02:19:30 +0300 |
commit | 9e5259b0434550a40c08042524fca6b4bb1a07ee (patch) | |
tree | 324c328face8eb7c743db6351c6b2e4f510ad41a /source/blender/editors/mesh | |
parent | 1f1802307f9a3b1a09b9eb8d70dadc7c849c5e2c (diff) |
Tool System: make smooth and randomize interactive
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 6784d5f7c9a..5793fae79fe 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -2230,7 +2230,7 @@ void MESH_OT_vertices_smooth(wmOperatorType *ot) /* flags */ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; - RNA_def_float(ot->srna, "factor", 0.5f, -10.0f, 10.0f, "Smoothing", "Smoothing factor", 0.0f, 1.0f); + ot->prop = RNA_def_float(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); |