Keymap: expose tool keymaps in the preferences

Currently some modes share tool keymaps, we might want to disable
this since it's confusing editing one thing in multiple places.

However this should be resolved in the tool definitions.
This commit is contained in:
Campbell Barton
2018-10-03 15:48:37 +10:00
parent e44dfbbba5
commit 1c3411ac89
5 changed files with 116 additions and 44 deletions

View File

@@ -356,7 +356,7 @@ def draw_filtered(display_keymaps, filter_type, filter_text, layout):
def draw_hierarchy(display_keymaps, layout):
from bpy_extras import keyconfig_utils
for entry in keyconfig_utils.KM_HIERARCHY:
for entry in keyconfig_utils.km_hierarchy():
draw_entry(display_keymaps, entry, layout)