Fix T57384: Depsgraph assert after loading file with Mask Node

Maniphest Tasks: T57384

Differential Revision: https://developer.blender.org/D3831
This commit is contained in:
Philipp Oeser 2018-10-26 10:32:57 +02:00
parent 4e6f5fabd4
commit 262504ddd1
Notes: blender-bot 2023-02-14 09:29:42 +01:00
Referenced by issue #57384, Depsgraph assert after loading file with Mask Node
2 changed files with 6 additions and 0 deletions

View File

@ -1443,6 +1443,9 @@ void DepsgraphNodeBuilder::build_nodetree(bNodeTree *ntree)
else if (id_type == ID_TXT) {
/* Ignore script nodes. */
}
else if (id_type == ID_MSK) {
build_mask((Mask *)id);
}
else if (id_type == ID_MC) {
build_movieclip((MovieClip *)id);
}

View File

@ -2167,6 +2167,9 @@ void DepsgraphRelationBuilder::build_nodetree(bNodeTree *ntree)
else if (id_type == ID_TXT) {
/* Ignore script nodes. */
}
else if (id_type == ID_MSK) {
build_mask((Mask *)id);
}
else if (id_type == ID_MC) {
build_movieclip((MovieClip *)id);
}