forked from bartvdbraak/blender
Cleanup: remove unused "Gizmo" & "Header" keymaps
This commit is contained in:
parent
2919c4bf9d
commit
8301cbd64f
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user