Fix T86087: Assert when changing compositor node value or invoking tooltip.
Regression from rBde25b79ff5c4, this flag is inconsistent currently for embedded IDs, needs to be sorted out, see T86119.
This commit is contained in:
@@ -372,7 +372,8 @@ static ID *node_owner_get(Main *bmain, ID *id)
|
||||
if ((id->flag & LIB_EMBEDDED_DATA) == 0) {
|
||||
return id;
|
||||
}
|
||||
BLI_assert((id->tag & LIB_TAG_NO_MAIN) == 0);
|
||||
/* TODO: Sort this NO_MAIN or not for embedded node trees. See T86119. */
|
||||
// BLI_assert((id->tag & LIB_TAG_NO_MAIN) == 0);
|
||||
|
||||
ListBase *lists[] = {&bmain->materials,
|
||||
&bmain->lights,
|
||||
|
||||
Reference in New Issue
Block a user