number button precission was far too low, description also bit.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 15 Dec 2009 01:03:05 +0000 (01:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 15 Dec 2009 01:03:05 +0000 (01:03 +0000)
source/blender/editors/mesh/editmesh_mods.c

index 1ff2d097100db97b8c46067325403cd4754d106c..0fa6ff0188ccda6cc7a89cfe1fae092b50b8ff56 100644 (file)
@@ -4570,9 +4570,10 @@ static int solidify_exec(bContext *C, wmOperator *op)
 
 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 @@ void MESH_OT_solidify(wmOperatorType *ot)
        /* 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);
 }