Depsgraph: Ignore text datablocks from nodes

Those are not part of dependency graph, but still could be referenced from
the tree.
This commit is contained in:
Sergey Sharybin 2017-12-06 11:54:52 +01:00
parent 1027ddfa2d
commit 5ad3cc4e03
1 changed files with 3 additions and 0 deletions

View File

@ -984,6 +984,9 @@ void DepsgraphNodeBuilder::build_nodetree(bNodeTree *ntree)
* pipeline. No need to build dependencies for them here.
*/
}
else if (id_type == ID_TXT) {
/* Ignore script nodes. */
}
else if (bnode->type == NODE_GROUP) {
bNodeTree *group_ntree = (bNodeTree *)id;
if ((group_ntree->id.tag & LIB_TAG_DOIT) == 0) {