[Bf-blender-cvs] [38b582e] depsgraph_refactor: Depsgraph: Debug value 799 can now be used to disable the transitive reduction
Joshua Leung
noreply at git.blender.org
Fri Jan 30 07:32:31 CET 2015
Commit: 38b582e173eafa6a9a1554a64a19430a844070a6
Author: Joshua Leung
Date: Fri Jan 30 19:25:54 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB38b582e173eafa6a9a1554a64a19430a844070a6
Depsgraph: Debug value 799 can now be used to disable the transitive reduction
Originally, I was going to have it off by default, but since it seems to keep
many rigs working, it looks like it's best to keep it this way for now.
===================================================================
M source/blender/depsgraph/intern/depsgraph_build.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_build.cpp b/source/blender/depsgraph/intern/depsgraph_build.cpp
index 7877666..a442c56 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build.cpp
@@ -578,7 +578,9 @@ void DEG_graph_build_from_scene(Depsgraph *graph, Main *bmain, Scene *scene)
/* 4) Simplify the graph by removing redundant relations (to optimise traversal later) */
// TODO: it would be useful to have an option to disable this in cases where it is causing trouble
- deg_graph_transitive_reduction(graph);
+ if (G.debug_value != 799) {
+ deg_graph_transitive_reduction(graph);
+ }
deg_graph_flush_node_layers(graph);
#if 0
More information about the Bf-blender-cvs
mailing list