[Bf-blender-cvs] [220e493] depsgraph_refactor: Depsgraph: Disable 2 leftover debug prints, which were slowing down graph rebuid times

Joshua Leung noreply at git.blender.org
Sat Jan 24 13:55:21 CET 2015


Commit: 220e49306e8118db74f6656925c6c240cc2f26d1
Author: Joshua Leung
Date:   Sun Jan 25 01:32:23 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB220e49306e8118db74f6656925c6c240cc2f26d1

Depsgraph: Disable 2 leftover debug prints, which were slowing down graph rebuid times

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
index 8752e90..2e4f0a9 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -220,13 +220,13 @@ bool DepsgraphRelationBuilder::RootPChanMap::has_common_root(const char *bone1,
 	/* Ensure that both are in the map... */
 	if (BLI_ghash_haskey(m_map, bone1) == false) {
 		//fprintf("RootPChanMap: bone1 '%s' not found (%s => %s)\n", bone1, bone1, bone2);
-		print_debug();
+		//print_debug();
 		return false;
 	}
 
 	if (BLI_ghash_haskey(m_map, bone2) == false) {
 		//fprintf("RootPChanMap: bone2 '%s' not found (%s => %s)\n", bone2, bone1, bone2);
-		print_debug();
+		//print_debug();
 		return false;
 	}




More information about the Bf-blender-cvs mailing list