[#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:
Campbell Barton 2011-05-20 00:21:38 +00:00
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[:]