[Bf-blender-cvs] [d836d48] depsgraph_refactor: Minor fix for relation label strings (proper escaping for square brackets in names).

Lukas Tönne noreply at git.blender.org
Wed Apr 16 13:07:49 CEST 2014


Commit: d836d48c25ec727ce5507ebf6dcd5e789d304723
Author: Lukas Tönne
Date:   Wed Apr 16 12:13:06 2014 +0200
https://developer.blender.org/rBd836d48c25ec727ce5507ebf6dcd5e789d304723

Minor fix for relation label strings (proper escaping for square
brackets in names).

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

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 4f36d00..2d11dd1 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_debug.cpp
@@ -470,7 +470,7 @@ static void deg_debug_graphviz_node_relations(const DebugContext &ctx, const Dep
 		deg_debug_printf(ctx, "\"node_%p\"", head);
 
 		deg_debug_printf(ctx, "[");
-		deg_debug_printf(ctx, "label=<%s>", rel->name.c_str());
+		deg_debug_printf(ctx, "label=\"%s\"", rel->name.c_str());
 		deg_debug_printf(ctx, ",fontname=\"%s\"", deg_debug_graphviz_fontname);
 		deg_debug_printf(ctx, ",color="); deg_debug_graphviz_relation_color(ctx, rel);




More information about the Bf-blender-cvs mailing list