diff options
author | Thomas Dinges <blender@dingto.org> | 2010-09-02 01:11:33 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2010-09-02 01:11:33 +0400 |
commit | 4ddc61643a2977454eed3070f1ca9a3b94190e6b (patch) | |
tree | 8c600b3668b931c296de4fe5f9d40f2f1fce7b52 /source/blender/editors/mesh/editmesh_add.c | |
parent | dda1db08ee4817e44b2c3744ba825bf7d675be91 (diff) |
Renaming of Cylindric objects after a good proposal by Conz:
http://www.vrchannel.de/blender/cylinder_rename.png
Mesh Tube > Mesh Cylinder
NURBS Tube > NURBS Cylinder
Metaball Cylinder > Metaball Capsule
I know that naming is something not everyone agrees on, but these terms look geometrically correct.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_add.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_add.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c index ca1a80110f3..474927d3638 100644 --- a/source/blender/editors/mesh/editmesh_add.c +++ b/source/blender/editors/mesh/editmesh_add.c @@ -1265,7 +1265,7 @@ static char *get_mesh_defname(int type) case PRIM_PLANE: return "Plane"; case PRIM_CUBE: return "Cube"; case PRIM_CIRCLE: return "Circle"; - case PRIM_CYLINDER: return "Tube"; + case PRIM_CYLINDER: return "Cylinder"; case PRIM_CONE: return "Cone"; case PRIM_GRID: return "Grid"; case PRIM_UVSPHERE: return "Sphere"; @@ -1421,7 +1421,7 @@ void MESH_OT_primitive_circle_add(wmOperatorType *ot) ED_object_add_generic_props(ot, TRUE); } -static int add_primitive_tube_exec(bContext *C, wmOperator *op) +static int add_primitive_cylinder_exec(bContext *C, wmOperator *op) { int enter_editmode; unsigned int layer; @@ -1439,16 +1439,16 @@ static int add_primitive_tube_exec(bContext *C, wmOperator *op) return OPERATOR_FINISHED; } -void MESH_OT_primitive_tube_add(wmOperatorType *ot) +void MESH_OT_primitive_cylinder_add(wmOperatorType *ot) { /* identifiers */ - ot->name= "Add Tube"; - ot->description= "Construct a tube mesh"; - ot->idname= "MESH_OT_primitive_tube_add"; + ot->name= "Add Cylinder"; + ot->description= "Construct a cylinder mesh"; + ot->idname= "MESH_OT_primitive_cylinder_add"; /* api callbacks */ ot->invoke= ED_object_add_generic_invoke; - ot->exec= add_primitive_tube_exec; + ot->exec= add_primitive_cylinder_exec; ot->poll= ED_operator_scene_editable; /* flags */ |