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:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index b56f95aca6f..477699fccaa 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -773,7 +773,10 @@ int wm_homefile_read(
}
if ((app_template != NULL) && (app_template[0] != '\0')) {
- BKE_appdir_app_template_id_search(app_template, app_template_system, sizeof(app_template_system));
+ if (!BKE_appdir_app_template_id_search(app_template, app_template_system, sizeof(app_template_system))) {
+ /* Can safely continue with code below, just warn it's not found. */
+ BKE_reportf(reports, RPT_WARNING, "Application Template '%s' not found.", app_template);
+ }
/* Insert template name into startup file. */