- Change 2 operators from using int properties into enums.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 1 Feb 2009 02:37:12 +0000 (02:37 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 1 Feb 2009 02:37:12 +0000 (02:37 +0000)
commit2755d48d4efed7318bbc084482858f675b3dcdb3
tree0bb95fd5abb21b7b671e83109eb2c9b41cad9a2e
parent75f7f1f21a2214a883acdec027157f663d71598d
- 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.
source/blender/editors/mesh/editmesh_mods.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/mesh/mesh_intern.h
source/blender/editors/mesh/mesh_ops.c
source/blender/windowmanager/intern/wm_operators.c