diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-20 02:56:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-20 03:06:01 +0300 |
commit | f8c16b0175799333f0ddb19478b1e7b834fcf00a (patch) | |
tree | 94cc3330a3ae01f67ba60fc720554ec84664497d /release/scripts/startup/bl_operators | |
parent | d870e7d93023bc2120ddca5717eb8f1af40e6a57 (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/startup/bl_operators')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 0f112d408c4..36690296b25 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1613,7 +1613,7 @@ class WM_OT_keyconfig_export(Operator): ) def execute(self, context): - from bpy_extras import keyconfig_utils + from bl_keymap_utils.io import keyconfig_export_as_data if not self.filepath: raise Exception("Filepath not set") @@ -1623,7 +1623,7 @@ class WM_OT_keyconfig_export(Operator): wm = context.window_manager - keyconfig_utils.keyconfig_export_as_data( + keyconfig_export_as_data( wm, wm.keyconfigs.active, self.filepath, |