Core: Remove assert about non-Main tag for embedded collections.

Given current tag/flag handling situation (see also #88555 and #90610),
it is not yet possible to ensure matching tags between embedded data and
their owner ID. Furthermore, a non-main Scene should also tag its master
collection as non-main, so current test was not correct anyway.
This commit is contained in:
Bastien Montagne
2024-02-21 14:34:22 +01:00
parent 3fdae6e56d
commit 0c8dd09e04

View File

@@ -238,7 +238,6 @@ static ID **collection_owner_pointer_get(ID *id)
if ((id->flag & LIB_EMBEDDED_DATA) == 0) {
return nullptr;
}
BLI_assert((id->tag & LIB_TAG_NO_MAIN) == 0);
Collection *master_collection = (Collection *)id;
BLI_assert((master_collection->flag & COLLECTION_IS_MASTER) != 0);