[Bf-blender-cvs] [fcc6d8e] depsgraph_refactor: Depsgraph: Tweaks to make graphviz-neato debug graphs more legible

Joshua Leung noreply at git.blender.org
Thu Jan 29 03:15:38 CET 2015


Commit: fcc6d8ee207d19cf374e951f8e18ef1e3bc127a9
Author: Joshua Leung
Date:   Thu Jan 29 12:54:52 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rBfcc6d8ee207d19cf374e951f8e18ef1e3bc127a9

Depsgraph: Tweaks to make graphviz-neato debug graphs more legible

Dot will crash when graphs are generated using this option, but for neato graphs,
at least we can see what the different items are this way.

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

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 3cf758b..f9b1eb5d 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_debug.cpp
@@ -733,7 +733,7 @@ void DEG_debug_graphviz(const Depsgraph *graph, FILE *f, const char *label, bool
 	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, ",overlap=scalexy"); // XXX: only when using neato
 	deg_debug_fprintf(ctx, "];" NL);
 
 	deg_debug_graphviz_graph_nodes(ctx, graph);




More information about the Bf-blender-cvs mailing list