[Bf-blender-cvs] [6eb2b57f5a7] master: Depsgraph: Disable labels on relations
Sergey Sharybin
noreply at git.blender.org
Mon Jan 29 14:54:09 CET 2018
Commit: 6eb2b57f5a76d3ff91b485801747ba8547ab72d1
Author: Sergey Sharybin
Date: Mon Jan 29 14:45:45 2018 +0100
Branches: master
https://developer.blender.org/rB6eb2b57f5a76d3ff91b485801747ba8547ab72d1
Depsgraph: Disable labels on relations
This code was disable a while back and got re-enabled by some previous debug
process. Having relation names in dot file helps understanding what's going
on in one cases, but makes things spread too far away in others.
===================================================================
M source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
index 270202f9f34..b76cd9eaadd 100644
--- a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
+++ b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
@@ -468,7 +468,7 @@ static void deg_debug_graphviz_node_relations(const DebugContext &ctx,
deg_debug_fprintf(ctx, "[");
/* Note: without label an id seem necessary to avoid bugs in graphviz/dot */
deg_debug_fprintf(ctx, "id=\"%s\"", rel->name);
- deg_debug_fprintf(ctx, "label=\"%s\"", rel->name);
+ // deg_debug_fprintf(ctx, "label=\"%s\"", rel->name);
deg_debug_fprintf(ctx, ",color="); deg_debug_graphviz_relation_color(ctx, rel);
deg_debug_fprintf(ctx, ",penwidth=\"%f\"", penwidth);
/* NOTE: edge from node to own cluster is not possible and gives graphviz
More information about the Bf-blender-cvs
mailing list