diff options
Diffstat (limited to 'release/scripts/modules/bpy/utils.py')
-rw-r--r-- | release/scripts/modules/bpy/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/utils.py b/release/scripts/modules/bpy/utils.py index a2d7b9e502f..7c0d3d24cba 100644 --- a/release/scripts/modules/bpy/utils.py +++ b/release/scripts/modules/bpy/utils.py @@ -379,7 +379,9 @@ def preset_find(name, preset_path, display_name=False): def keyconfig_set(filepath): from os.path import basename, splitext - print("loading preset:", filepath) + if _bpy.app.debug: + print("loading preset:", filepath) + keyconfigs = _bpy.context.window_manager.keyconfigs keyconfigs_old = keyconfigs[:] |