svn merge ^/trunk/blender -r46699:46714
[blender.git] / source / blender / blenkernel / intern / depsgraph.c
index edef2b1a662ed39299d42c7b86b05cdc47f7176c..caf7634355ff58a225311647ea79c9b8940a0276 100644 (file)
@@ -2607,6 +2607,18 @@ static void dag_id_flush_update(Scene *sce, ID *id)
                        }
                }
 
+               if (idtype == ID_MSK) {
+                       if (sce->nodetree) {
+                               bNode *node;
+
+                               for (node = sce->nodetree->nodes.first; node; node = node->next) {
+                                       if (node->id == id) {
+                                               nodeUpdate(sce->nodetree, node);
+                                       }
+                               }
+                       }
+               }
+
                /* camera's matrix is used to orient reconstructed stuff,
                 * so it should happen tracking-related constraints recalculation
                 * when camera is changing (sergey) */