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

@@ -437,8 +437,8 @@ def dump_rna_messages(msgs, reports, settings, verbose=False):
reports, check_ctxt_rna, settings)
# And parse keymaps!
from bpy_extras.keyconfig_utils import KM_HIERARCHY
walk_keymap_hierarchy(KM_HIERARCHY, "KM_HIERARCHY")
from bpy_extras.keyconfig_utils import km_hierarchy
walk_keymap_hierarchy(km_hierarchy(), "KM_HIERARCHY")
##### Python source code #####