Commit: da96f8a33baa69b9cd92cc333b28cc7fb3db043d
Author: Joshua Leung
Date: Wed Jan 21 00:23:32 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rBda96f8a33baa69b9cd92cc333b28cc7fb3db043d
Depsgraph: Use straight-lines for graphviz debug
Trying straight/orthogonal lines for relationships in graphviz debug graphs
instead of the curved defaults. The curvy lines were clumping together in
confusing
ways, making it hard to tell what's going on. Still, this isn't much better, but
can at least see what's going on in the file I'm debugging.
===================================================================
M source/blender/depsgraph/intern/depsgraph_debug.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_debug.cpp
b/source/blender/depsgraph/intern/depsgraph_debug.cpp
index 9409c77..3cf758b 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_debug.cpp
@@ -732,6 +732,8 @@ void DEG_debug_graphviz(const Depsgraph *graph, FILE *f,
const char *label, bool
deg_debug_fprintf(ctx, ",fontsize=%f",
deg_debug_graphviz_graph_label_size);
deg_debug_fprintf(ctx, ",fontname=\"%s\"", deg_debug_graphviz_fontname);
deg_debug_fprintf(ctx, ",label=\"%s\"", label);
+ deg_debug_fprintf(ctx, ",splines=ortho");
+ //deg_debug_fprintf(ctx, ",overlap=false");
deg_debug_fprintf(ctx, "];" NL);
deg_debug_graphviz_graph_nodes(ctx, graph);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs