NewDepsgraph: Fix typo tagging wrong flag.
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 20 Dec 2015 22:06:18 +0000 (23:06 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 20 Dec 2015 22:06:18 +0000 (23:06 +0100)
Tagging NodeTree->flag instead of NodeTree->id.flag, not sure if this fixes something, but...

source/blender/depsgraph/intern/depsgraph_build_relations.cc

index f027fc8c3c15c6a9c2732baa97761001c4e2944d..2a0dd6f9439a22b701cf00c0c73b34ac23318379 100644 (file)
@@ -1796,7 +1796,7 @@ void DepsgraphRelationBuilder::build_nodetree(ID *owner, bNodeTree *ntree)
                                bNodeTree *group_ntree = (bNodeTree *)bnode->id;
                                if ((group_ntree->id.flag & LIB_DOIT) == 0) {
                                        build_nodetree(owner, group_ntree);
-                                       group_ntree->flag |= LIB_DOIT;
+                                       group_ntree->id.flag |= LIB_DOIT;
                                }
                                OperationKey group_parameters_key(&group_ntree->id,
                                                                  DEPSNODE_TYPE_PARAMETERS,