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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-20 02:56:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-20 03:06:01 +0300
commitf8c16b0175799333f0ddb19478b1e7b834fcf00a (patch)
tree94cc3330a3ae01f67ba60fc720554ec84664497d /release/scripts/modules/rna_keymap_ui.py
parentd870e7d93023bc2120ddca5717eb8f1af40e6a57 (diff)
Cleanup: move bpy_extras.keyconfig_utils to own module
bpy_extras were meant to be useful high-level helper functions for script authors to perform common operations, to avoid writing to verbose API's. bpy_extras.keymap_utils contains some specialized API calls mainly intended for Blender's own internal use. Move keymap import export to internal API.
Diffstat (limited to 'release/scripts/modules/rna_keymap_ui.py')
-rw-r--r--release/scripts/modules/rna_keymap_ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/rna_keymap_ui.py b/release/scripts/modules/rna_keymap_ui.py
index d655e9ff009..2247d18ae72 100644
--- a/release/scripts/modules/rna_keymap_ui.py
+++ b/release/scripts/modules/rna_keymap_ui.py
@@ -361,7 +361,7 @@ def draw_hierarchy(display_keymaps, layout):
def draw_keymaps(context, layout):
- from bpy_extras import keyconfig_utils
+ from bl_keymap_utils.io import keyconfig_merge
wm = context.window_manager
kc_user = wm.keyconfigs.user
@@ -389,7 +389,7 @@ def draw_keymaps(context, layout):
# postpone drawing into rowsub, so we can set alert!
layout.separator()
- display_keymaps = keyconfig_utils.keyconfig_merge(kc_user, kc_user)
+ display_keymaps = keyconfig_merge(kc_user, kc_user)
filter_type = spref.filter_type
filter_text = spref.filter_text.strip()
if filter_text: