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:
parent
87f9405c9a
commit
4e34baddb9
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue