Commit: fb7f06288d3884237d632a1e54394e53b80a89ee
Author: Bastien Montagne
Date:   Wed Oct 1 10:46:50 2014 +0200
Branches: master
https://developer.blender.org/rBfb7f06288d3884237d632a1e54394e53b80a89ee

Smooth vertex: User request: tweak hard min/max smoothness.

Keep soft min/max to usual values, but allow artists to play with strange values
if they really want it.

===================================================================

M       source/blender/editors/mesh/editmesh_tools.c

===================================================================

diff --git a/source/blender/editors/mesh/editmesh_tools.c 
b/source/blender/editors/mesh/editmesh_tools.c
index 0a2b89f..20c7f4e 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -1359,7 +1359,7 @@ void MESH_OT_vertices_smooth(wmOperatorType *ot)
        /* flags */
        ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
 
-       RNA_def_float(ot->srna, "factor", 0.5f, 0.0f, 1.0f, "Smoothing", 
"Smoothing factor", 0.0f, 1.0f);
+       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);
        RNA_def_boolean(ot->srna, "xaxis", 1, "X-Axis", "Smooth along the X 
axis");
        RNA_def_boolean(ot->srna, "yaxis", 1, "Y-Axis", "Smooth along the Y 
axis");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to