[Bf-blender-cvs] [58c7ff5] depsgraph_refactor: Depsgraph WIP: Removing unnecessary attributes for graph

Joshua Leung noreply at git.blender.org
Thu Jan 29 14:13:03 CET 2015


Commit: 58c7ff575f5493af799dea21268730bb3946a2ca
Author: Joshua Leung
Date:   Fri Jan 30 01:32:05 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB58c7ff575f5493af799dea21268730bb3946a2ca

Depsgraph WIP: Removing unnecessary attributes for graph

These were resulting in nodes being created with sizes of 0,0, as those flags
expect that you manually set what you want.

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

M	source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp b/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp
index 8317ba9..74565ed 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp
@@ -389,15 +389,11 @@ void DEG_debug_ogdf(const Depsgraph *graph, const char *filename)
 	ogdf::Graph outgraph;
 
 	ogdf::GraphAttributes GA(outgraph,
-	                         ogdf::GraphAttributes::nodeGraphics |
-					         ogdf::GraphAttributes::edgeGraphics |
 							 ogdf::GraphAttributes::nodeLabel |
-		                     ogdf::GraphAttributes::nodeStyle |
 							 ogdf::GraphAttributes::nodeColor |
 							 ogdf::GraphAttributes::edgeLabel |
 							 ogdf::GraphAttributes::edgeType |
-		                     ogdf::GraphAttributes::edgeArrow |
-		                     ogdf::GraphAttributes::edgeStyle);
+		                     ogdf::GraphAttributes::edgeArrow);
 
 	/* build OGDF graph from depsgraph */
 	DebugContext ctx;




More information about the Bf-blender-cvs mailing list