Blender Git Commit Log

Git Commits -> Revision 1c1c892

Revision 1c1c892 by Brecht Van Lommel (master)
December 16, 2008, 07:44 (GMT)

WM: changed WM_operator_call to take an argument, which specifies in
which context to run the operator: WM_OP_DEFAULT, WM_OP_REGION_WIN,
WM_OP_AREA or WM_OP_SCREEN. This also replaces WM_operator_call_rwin
since it is more general.

This is useful for buttons and popup menus to run operators, and also
used by a new function to lookup the keymap item for that operator in
the right context.

Commit Details:

Full Hash: 1c1c89262eea0ab4eb62788fd4daf1023ffbf8e1
SVN Revision: 17885
Parent Commit: d272300
Lines Changed: +127, -38

6 Modified Paths:

/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/space_time/time_header.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+46, -31) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+66, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+8, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021