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
path: root/source
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-03-29 10:57:06 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-29 10:57:06 +0300
commit4e34baddb917c1583182ada2fa5c2ce7d9e02486 (patch)
tree48f4c79ba2645d41b9ef3555f13077f6253784d9 /source
parent87f9405c9aedb4b23c3400780db42ddda0cc4c2b (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_ID.c2
1 files changed, 1 insertions, 1 deletions
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)) {