Depsgraph: Build node and relations for movieclip ID for its nodes
Otherwise we get asserts when opening files with the Move Distortion node.
This commit is contained in:
parent
b7784c0cd2
commit
cead9abe07
|
@ -1359,6 +1359,9 @@ void DepsgraphNodeBuilder::build_nodetree(bNodeTree *ntree)
|
|||
else if (id_type == ID_TXT) {
|
||||
/* Ignore script nodes. */
|
||||
}
|
||||
else if (id_type == ID_MC) {
|
||||
build_movieclip((MovieClip *)id);
|
||||
}
|
||||
else if (bnode->type == NODE_GROUP) {
|
||||
bNodeTree *group_ntree = (bNodeTree *)id;
|
||||
build_nodetree(group_ntree);
|
||||
|
|
|
@ -2100,6 +2100,9 @@ void DepsgraphRelationBuilder::build_nodetree(bNodeTree *ntree)
|
|||
else if (id_type == ID_TXT) {
|
||||
/* Ignore script nodes. */
|
||||
}
|
||||
else if (id_type == ID_MC) {
|
||||
build_movieclip((MovieClip *)id);
|
||||
}
|
||||
else if (bnode->type == NODE_GROUP) {
|
||||
bNodeTree *group_ntree = (bNodeTree *)id;
|
||||
build_nodetree(group_ntree);
|
||||
|
|
Loading…
Reference in New Issue