[Bf-blender-cvs] [6f22494] master: NewDepsgraph: Fix typo tagging wrong flag.

Bastien Montagne noreply at git.blender.org
Sun Dec 20 23:07:56 CET 2015


Commit: 6f224941408eda8930489fa440af9539a92badad
Author: Bastien Montagne
Date:   Sun Dec 20 23:06:18 2015 +0100
Branches: master
https://developer.blender.org/rB6f224941408eda8930489fa440af9539a92badad

NewDepsgraph: Fix typo tagging wrong flag.

Tagging NodeTree->flag instead of NodeTree->id.flag, not sure if this fixes something, but...

===================================================================

M	source/blender/depsgraph/intern/depsgraph_build_relations.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
index f027fc8..2a0dd6f 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cc
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
@@ -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,




More information about the Bf-blender-cvs mailing list