From ec7a6129ea70b1cdf2b58667539db6b9d4b19c9d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 Dec 2009 01:03:05 +0000 Subject: number button precission was far too low, description also bit. --- source/blender/editors/mesh/editmesh_mods.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c index 1ff2d097100..0fa6ff0188c 100644 --- a/source/blender/editors/mesh/editmesh_mods.c +++ b/source/blender/editors/mesh/editmesh_mods.c @@ -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); } -- cgit v1.2.3