WM: remove "No (valid) startup.blend found" message printed on startup, can be useful for debugging but hide it for normal usage.

This commit is contained in:
Brecht Van Lommel
2013-03-13 20:00:39 +00:00
parent dcbfa25bc8
commit a4c19c62bf

View File

@@ -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;
}
}