forked from bartvdbraak/blender
[#27439] Console window doesn't hide on startup when presets are used (Windows)
only print preset load messages in when debug is enabled.
This commit is contained in:
parent
b181368f52
commit
c672b3fb67
@ -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[:]
|
||||
|
Loading…
Reference in New Issue
Block a user