[Bf-blender-cvs] [47d338d] depsgraph_refactor: Depsgraph: debug_rebuild() will now actually rebuild the depsgraph
Sergey Sharybin
noreply at git.blender.org
Thu Dec 4 14:30:30 CET 2014
Commit: 47d338d95e97d3f55fa7962163bd34a8030a9cf2
Author: Sergey Sharybin
Date: Thu Dec 4 18:29:16 2014 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB47d338d95e97d3f55fa7962163bd34a8030a9cf2
Depsgraph: debug_rebuild() will now actually rebuild the depsgraph
===================================================================
M source/blender/makesrna/intern/rna_depsgraph.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c
index 8eb8175..eb10758 100644
--- a/source/blender/makesrna/intern/rna_depsgraph.c
+++ b/source/blender/makesrna/intern/rna_depsgraph.c
@@ -55,7 +55,10 @@ static void rna_Depsgraph_debug_graphviz(Depsgraph *graph, const char *filename)
static void rna_Depsgraph_debug_rebuild(Depsgraph *UNUSED(graph), Main *bmain)
{
+ Scene *sce;
DAG_relations_tag_update(bmain);
+ for (sce = bmain->scene.first; sce; sce = sce->id.next)
+ DAG_scene_relations_rebuild(bmain, sce);
}
#else
More information about the Bf-blender-cvs
mailing list