Cleanup: Include layer tree element in assert check
This commit is contained in:
@@ -378,8 +378,12 @@ TreeElement *outliner_add_element(SpaceOutliner *space_outliner,
|
||||
TSE_SEQ_STRIP,
|
||||
TSE_SEQUENCE_DUP,
|
||||
TSE_GENERIC_LABEL) ||
|
||||
ELEM(
|
||||
type, TSE_DEFGROUP, TSE_DEFGROUP_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE))
|
||||
ELEM(type,
|
||||
TSE_DEFGROUP,
|
||||
TSE_DEFGROUP_BASE,
|
||||
TSE_GPENCIL_EFFECT,
|
||||
TSE_GPENCIL_EFFECT_BASE,
|
||||
TSE_R_LAYER_BASE))
|
||||
{
|
||||
BLI_assert_msg(false, "Element type should already use new AbstractTreeElement design");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user