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.
This commit is contained in:
Jeroen Bakker 2021-03-29 09:57:06 +02:00
parent 87f9405c9a
commit 4e34baddb9
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {