Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-12-15 04:03:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-15 04:03:05 +0300
commitec7a6129ea70b1cdf2b58667539db6b9d4b19c9d (patch)
tree49c65e0a9b75b3f959548322a7a4eb28d8530b86 /source/blender/editors/mesh/editmesh_mods.c
parentded4cbb553f0a5bdc3e8b62b82932429848f37ee (diff)
number button precission was far too low, description also bit.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_mods.c')
-rw-r--r--source/blender/editors/mesh/editmesh_mods.c6
1 files changed, 4 insertions, 2 deletions
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);
}