Blender Git Commit Log
Git Commits -> Revision 6dca61b
Revision 6dca61b by Campbell Barton (master) September 17, 2021, 03:20 (GMT) |
Cleanup: remove KM_MOD_SECOND & KM_SHIFT2, KM_CTRL2.. etc These were added in a1c8543f2acd7086d412cb794b32f96794b00659 (2007) but never used. Nor did they have any meaning in practice. Note that versioning keymap items isn't needed as these values were never set. The code-paths that set these values also set KM_MOD_FIRST causing `keymap_event_set` to only ever assign values of 0 or 1. These flags complicate further exposing KM_ANY (-1) which is also a valid value for modifiers. |
Commit Details:
Full Hash: 6dca61b91c3178a22e8d6e9cdaaeaa12554ffb73
Parent Commit: 8bc27c5
Lines Changed: +14, -44
5 Modified Paths:
/source/blender/makesrna/intern/rna_wm_api.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -24) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+4, -8) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+4, -4) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -7) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -24) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+4, -8) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+4, -4) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -7) (Diff)