Static overrides: make it clear collections need specific apply callbacks.

This commit is contained in:
Bastien Montagne
2018-05-01 16:27:47 +02:00
parent 9e87069c3e
commit 429c1d60a4

View File

@@ -2301,8 +2301,13 @@ bool rna_property_override_apply_default(
if (value != buff) MEM_freeN(value);
return true;
}
case PROP_COLLECTION:
{
BLI_assert(!"You need to define a specific override apply callback for enums.");
return false;
}
default:
/* TODO PROP_COLLECTION of course! */
BLI_assert(0);
return false;
}