[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46500] branches/tile/source/blender/ compositor/intern/COM_ExecutionSystem.cpp: TileBranch

Jeroen Bakker j.bakker at atmind.nl
Thu May 10 16:51:18 CEST 2012


Revision: 46500
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46500
Author:   jbakker
Date:     2012-05-10 14:51:18 +0000 (Thu, 10 May 2012)
Log Message:
-----------
TileBranch
 * disable debug prints (DOT output of the execution operation system)

Modified Paths:
--------------
    branches/tile/source/blender/compositor/intern/COM_ExecutionSystem.cpp

Modified: branches/tile/source/blender/compositor/intern/COM_ExecutionSystem.cpp
===================================================================
--- branches/tile/source/blender/compositor/intern/COM_ExecutionSystem.cpp	2012-05-10 13:52:35 UTC (rev 46499)
+++ branches/tile/source/blender/compositor/intern/COM_ExecutionSystem.cpp	2012-05-10 14:51:18 UTC (rev 46500)
@@ -38,6 +38,8 @@
 #include "COM_ReadBufferOperation.h"
 #include "COM_ExecutionSystemHelper.h"
 
+#include "BKE_global.h"
+
 ExecutionSystem::ExecutionSystem(bNodeTree* editingtree, bool rendering) {
 	this->context.setbNodeTree(editingtree);
 
@@ -69,9 +71,8 @@
 			executionGroup->determineResolution(resolution);
 		}
 	}
-#ifdef DEBUG
-	ExecutionSystemHelper::debugDump(this);
-#endif
+
+	if (G.f & G_DEBUG) ExecutionSystemHelper::debugDump(this);
 }
 
 ExecutionSystem::~ExecutionSystem() {




More information about the Bf-blender-cvs mailing list