Revision: 25395
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25395
Author:   campbellbarton
Date:     2009-12-15 02:03:05 +0100 (Tue, 15 Dec 2009)

Log Message:
-----------
number button precission was far too low, description also bit.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editmesh_mods.c

Modified: trunk/blender/source/blender/editors/mesh/editmesh_mods.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_mods.c   2009-12-15 
00:53:34 UTC (rev 25394)
+++ trunk/blender/source/blender/editors/mesh/editmesh_mods.c   2009-12-15 
01:03:05 UTC (rev 25395)
@@ -4570,9 +4570,10 @@
 
 void MESH_OT_solidify(wmOperatorType *ot)
 {
+       PropertyRNA *prop;
        /* identifiers */
        ot->name= "Solidify";
-       ot->description= "Make the mesh solid.";
+       ot->description= "Create a solid skin by extruding, compensating for 
sharp angles.";
        ot->idname= "MESH_OT_solidify";
 
        /* api callbacks */
@@ -4582,5 +4583,6 @@
        /* flags */
        ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
 
-       RNA_def_float(ot->srna, "thickness", 0.1f, -FLT_MAX, FLT_MAX, 
"thickness", "", -10.0f, 10.0f);
+       prop= RNA_def_float(ot->srna, "thickness", 0.01f, -FLT_MAX, FLT_MAX, 
"thickness", "", -10.0f, 10.0f);
+       RNA_def_property_ui_range(prop, -10, 10, 0.1, 4);
 }


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to