Cleanup: remove unused "Gizmo" & "Header" keymaps

This commit is contained in:
Campbell Barton 2021-03-14 18:00:15 +11:00
parent 2919c4bf9d
commit 8301cbd64f
2 changed files with 0 additions and 7 deletions

View File

@ -5540,10 +5540,6 @@ void ED_keymap_screen(wmKeyConfig *keyconf)
/* Screen Editing ------------------------------------------------ */
WM_keymap_ensure(keyconf, "Screen Editing", 0, 0);
/* Header Editing ------------------------------------------------ */
/* note: this is only used when the cursor is inside the header */
WM_keymap_ensure(keyconf, "Header", 0, 0);
/* Screen General ------------------------------------------------ */
WM_keymap_ensure(keyconf, "Screen", 0, 0);

View File

@ -1258,9 +1258,6 @@ void wm_gizmomaptypes_free(void)
*/
void wm_gizmos_keymap(wmKeyConfig *keyconf)
{
/* we add this item-less keymap once and use it to group gizmo-group keymaps into it */
WM_keymap_ensure(keyconf, "Gizmos", 0, 0);
LISTBASE_FOREACH (wmGizmoMapType *, gzmap_type, &gizmomaptypes) {
LISTBASE_FOREACH (wmGizmoGroupTypeRef *, gzgt_ref, &gzmap_type->grouptype_refs) {
wm_gizmogrouptype_setup_keymap(gzgt_ref->type, keyconf);