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:
Bastien Montagne 2021-03-01 10:59:07 +01:00
parent 71ed6f32d2
commit ca63729a5b
Notes: blender-bot 2023-02-13 23:17:13 +01:00
Referenced by issue #86087, Assert when changing compositor node value or invoking tooltip
1 changed files with 2 additions and 1 deletions

View File

@ -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,