[Bf-blender-cvs] [3002bd6e88b] blender-projects-basics: Show warning popup when creating project not containing the current file

Julian Eisel noreply at git.blender.org
Thu Oct 6 17:45:22 CEST 2022


Commit: 3002bd6e88b5ece60a5da5ef172cdeebfada7ebf
Author: Julian Eisel
Date:   Thu Oct 6 17:42:49 2022 +0200
Branches: blender-projects-basics
https://developer.blender.org/rB3002bd6e88b5ece60a5da5ef172cdeebfada7ebf

Show warning popup when creating project not containing the current file

===================================================================

M	source/blender/windowmanager/intern/wm_files.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 16a0076084a..07254a5a4a3 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -2382,7 +2382,7 @@ static int wm_new_project_exec(bContext *C, wmOperator *op)
   }
   else {
     BKE_reportf(op->reports,
-                RPT_INFO,
+                RPT_WARNING,
                 "The current file is not located inside of the new project. This means the new "
                 "project is not active");
   }



More information about the Bf-blender-cvs mailing list