diff options
author | Ton Roosendaal <ton@blender.org> | 2010-12-06 18:44:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-12-06 18:44:06 +0300 |
commit | 9d636334e95cfbeb79692265a07ea5c2536627e0 (patch) | |
tree | 74e2f7e782dd0852e1c2455e9b40dae053760f82 /source | |
parent | 997338b5cb0eac243438e53539f6c91913f2e52a (diff) |
Bugfix #25023 (additional remark, not report itself)
Adding Cone didn't set default 'fill end cap', as tooltip
promised it would be.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/mesh/editmesh_add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c index c150255d10e..f8c33b60b4a 100644 --- a/source/blender/editors/mesh/editmesh_add.c +++ b/source/blender/editors/mesh/editmesh_add.c @@ -1555,7 +1555,7 @@ void MESH_OT_primitive_cone_add(wmOperatorType *ot) RNA_def_int(ot->srna, "vertices", 32, INT_MIN, INT_MAX, "Vertices", "", 2, 500); RNA_def_float(ot->srna, "radius", 1.0f, 0.0, FLT_MAX, "Radius", "", 0.001, 100.00); RNA_def_float(ot->srna, "depth", 2.0f, 0.0, FLT_MAX, "Depth", "", 0.001, 100.00); - RNA_def_boolean(ot->srna, "cap_end", 0, "Cap End", ""); + RNA_def_boolean(ot->srna, "cap_end", 1, "Cap End", ""); ED_object_add_generic_props(ot, TRUE); } |