Blender Git Commit Log

Git Commits -> Revision 2755d48

Revision 2755d48 by Campbell Barton (master)
February 1, 2009, 02:37 (GMT)
- 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.

Commit Details:

Full Hash: 2755d48d4efed7318bbc084482858f675b3dcdb3
SVN Revision: 18775
Parent Commit: 75f7f1f
Lines Changed: +38, -59

5 Modified Paths:

/source/blender/editors/mesh/editmesh_mods.c (+12, -25) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+16, -30) (Diff)
/source/blender/editors/mesh/mesh_intern.h (+1, -1) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+8, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021