Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-03 08:48:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-03 08:55:57 +0300
commit1c3411ac899d1ae8dfd790249a53054698bdd1e8 (patch)
tree56251e61463f2927574d335870a90b7f14f4c0e1 /tests
parente44dfbbba5456d2479afd95faec325e069942f0a (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/python/bl_keymap_completeness.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/python/bl_keymap_completeness.py b/tests/python/bl_keymap_completeness.py
index 652ed449a3c..0edee3b02f0 100644
--- a/tests/python/bl_keymap_completeness.py
+++ b/tests/python/bl_keymap_completeness.py
@@ -27,12 +27,12 @@ from bpy_extras import keyconfig_utils
def check_maps():
maps = {}
- def fill_maps(ls):
- for km_name, km_space_type, km_region_type, km_sub in ls:
+ def fill_maps(seq):
+ for km_name, km_space_type, km_region_type, km_sub in seq:
maps[km_name] = (km_space_type, km_region_type)
fill_maps(km_sub)
- fill_maps(keyconfig_utils.KM_HIERARCHY)
+ fill_maps(keyconfig_utils.km_hierarchy())
import bpy
keyconf = bpy.context.window_manager.keyconfigs.active