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:
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
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue