diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-02-01 05:37:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-02-01 05:37:12 +0300 |
commit | 2755d48d4efed7318bbc084482858f675b3dcdb3 (patch) | |
tree | 0bb95fd5abb21b7b671e83109eb2c9b41cad9a2e /source/blender/editors/mesh/mesh_intern.h | |
parent | 75f7f1f21a2214a883acdec027157f663d71598d (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_intern.h')
-rw-r--r-- | source/blender/editors/mesh/mesh_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_intern.h b/source/blender/editors/mesh/mesh_intern.h index 5d99600863a..22593968401 100644 --- a/source/blender/editors/mesh/mesh_intern.h +++ b/source/blender/editors/mesh/mesh_intern.h @@ -191,7 +191,7 @@ void MESH_OT_similar_edge_select(struct wmOperatorType *ot); void MESH_OT_similar_face_select(struct wmOperatorType *ot); void MESH_OT_selectrandom_mesh(struct wmOperatorType *ot); void MESH_OT_vertices_to_sphere(struct wmOperatorType *ot); -void MESH_OT_mesh_selection_mode_menu(struct wmOperatorType *ot); +void MESH_OT_mesh_selection_type(struct wmOperatorType *ot); extern EditEdge *findnearestedge(ViewContext *vc, int *dist); extern void EM_automerge(int update); |