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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-03-14 00:00:39 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-03-14 00:00:39 +0400
commita4c19c62bf5a1820451edb39010a5a4efe3d260b (patch)
treeca28741cc65837f81c7a11fea287968a5c514f08 /source/blender/windowmanager
parentdcbfa25bc8903fbffb563c6e0f5c89d94ea27ed3 (diff)
WM: remove "No (valid) startup.blend found" message printed on startup, can be useful for debugging but hide it for normal usage.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 67422c8d986..66f6dc7de92 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -526,7 +526,8 @@ int wm_homefile_read(bContext *C, ReportList *UNUSED(reports), short from_memory
}
if (U.themes.first == NULL) {
- printf("\nNote: No (valid) '%s' found, fall back to built-in default.\n\n", startstr);
+ if (G.debug & G_DEBUG)
+ printf("\nNote: No (valid) '%s' found, fall back to built-in default.\n\n", startstr);
success = 0;
}
}