Commit: 4e34baddb917c1583182ada2fa5c2ce7d9e02486
Author: Jeroen Bakker
Date:   Mon Mar 29 09:57:06 2021 +0200
Branches: master
https://developer.blender.org/rB4e34baddb917c1583182ada2fa5c2ce7d9e02486

Overrides: Make Experimental API Fail On Usage.

It used to give a warning so test cases couldn't fail. This has been
changed in the test case so we could use an error here.

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

M       source/blender/makesrna/intern/rna_ID.c

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

diff --git a/source/blender/makesrna/intern/rna_ID.c 
b/source/blender/makesrna/intern/rna_ID.c
index 8d9e7852b4c..657af98f5fe 100644
--- a/source/blender/makesrna/intern/rna_ID.c
+++ b/source/blender/makesrna/intern/rna_ID.c
@@ -596,7 +596,7 @@ static ID *rna_ID_override_create(ID *id, Main *bmain, bool 
remap_local_usages)
 static void rna_ID_override_template_create(ID *id, ReportList *reports)
 {
   if (!U.experimental.use_override_templates) {
-    BKE_report(reports, RPT_WARNING, "Override template experimental feature 
is disabled");
+    BKE_report(reports, RPT_ERROR, "Override template experimental feature is 
disabled");
     return;
   }
   if (ID_IS_LINKED(id)) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to