Blender Git Commit Log
Git Commits -> Revision c0fb68a
Revision c0fb68a by Campbell Barton (temp-ui-tweaks) September 22, 2021, 13:54 (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: c0fb68a93d3360e8d482761ef0162728423f3789
Parent Commit: 13a0a0d
Committed By: Pablo Vazquez
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)