[Bf-blender-cvs] [7c943c5] depsgraph_refactor: Depsgraph: Knock out debug prints now that they're no longer needed
Joshua Leung
noreply at git.blender.org
Fri Jan 23 15:58:56 CET 2015
Commit: 7c943c53beb8080d51e08d2f4c127b83003b051f
Author: Joshua Leung
Date: Sat Jan 24 03:53:50 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB7c943c53beb8080d51e08d2f4c127b83003b051f
Depsgraph: Knock out debug prints now that they're no longer needed
===================================================================
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 914e76e..a2b2eee 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -219,13 +219,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) {
- printf("RootPChanMap: bone1 '%s' not found (%s => %s)\n", bone1, bone1, bone2);
+ //fprintf("RootPChanMap: bone1 '%s' not found (%s => %s)\n", bone1, bone1, bone2);
print_debug();
return false;
}
if (BLI_ghash_haskey(m_map, bone2) == false) {
- printf("RootPChanMap: bone2 '%s' not found (%s => %s)\n", bone2, bone1, bone2);
+ //fprintf("RootPChanMap: bone2 '%s' not found (%s => %s)\n", bone2, bone1, bone2);
print_debug();
return false;
}
@@ -240,13 +240,13 @@ bool DepsgraphRelationBuilder::RootPChanMap::has_common_root(const char *bone1,
const char *v2 = (const char *)BLI_gsetIterator_getKey(&it2);
if (strcmp(v1, v2) == 0) {
- printf("RootPchanMap: %s in common for %s => %s\n", v1, bone1, bone2);
+ //fprintf("RootPchanMap: %s in common for %s => %s\n", v1, bone1, bone2);
return true;
}
}
}
- printf("RootPChanMap: No common root found (%s => %s)\n", bone1, bone2);
+ //fprintf("RootPChanMap: No common root found (%s => %s)\n", bone1, bone2);
return false;
}
@@ -1270,7 +1270,7 @@ void DepsgraphRelationBuilder::build_rig(Scene *scene, Object *ob)
}
}
}
- root_map.print_debug();
+ //root_map.print_debug();
if (have_ik_solver) {
/* TODO(sergey): Once partial updates are possible use relation between
More information about the Bf-blender-cvs
mailing list