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-02-01 05:37:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-01 05:37:12 +0300
commit2755d48d4efed7318bbc084482858f675b3dcdb3 (patch)
tree0bb95fd5abb21b7b671e83109eb2c9b41cad9a2e /source/blender/editors/mesh/mesh_ops.c
parent75f7f1f21a2214a883acdec027157f663d71598d (diff)
- Change 2 operators from using int properties into enums.
- Renamed MESH_OT_mesh_selection_mode_menu to MESH_OT_mesh_selection_type since the operator doesnt have to be accessed from a menu. Shaul, you might want to look over this, using enums means WM_menu_invoke can be used instead of writing an invoke function for each operator. Added error messages to WM_menu_invoke if no enum "type" property is found.
Diffstat (limited to 'source/blender/editors/mesh/mesh_ops.c')
-rw-r--r--source/blender/editors/mesh/mesh_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_ops.c b/source/blender/editors/mesh/mesh_ops.c
index 8cbc3b9747e..606d778bd51 100644
--- a/source/blender/editors/mesh/mesh_ops.c
+++ b/source/blender/editors/mesh/mesh_ops.c
@@ -114,7 +114,7 @@ void ED_operatortypes_mesh(void)
WM_operatortype_append(MESH_OT_selectconnected_mesh_all);
WM_operatortype_append(MESH_OT_selectconnected_mesh);
WM_operatortype_append(MESH_OT_selectrandom_mesh);
- WM_operatortype_append(MESH_OT_mesh_selection_mode_menu);
+ WM_operatortype_append(MESH_OT_mesh_selection_type);
WM_operatortype_append(MESH_OT_hide_mesh);
WM_operatortype_append(MESH_OT_reveal_mesh);
WM_operatortype_append(MESH_OT_consistant_normals);