Commit: 4a9334d11bc7786ca3984d47da90f8543012fd6a
Author: Joshua Leung
Date: Wed Dec 17 15:45:22 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB4a9334d11bc7786ca3984d47da90f8543012fd6a
Code cleanup: Remove excess debugging code no longer needed
===================================================================
M source/blender/depsgraph/intern/depsnode_component.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsnode_component.cpp
b/source/blender/depsgraph/intern/depsnode_component.cpp
index 1f13523..718209e 100644
--- a/source/blender/depsgraph/intern/depsnode_component.cpp
+++ b/source/blender/depsgraph/intern/depsnode_component.cpp
@@ -101,15 +101,7 @@ OperationDepsNode
*ComponentDepsNode::find_operation(eDepsOperation_Code opcode,
{
OperationIDKey key(opcode, name);
- printf("===\nfind_operation: %s -> (%d, %s) = (%s)\n",
this->identifier().c_str(), opcode, name.c_str(), key.identifier().c_str());
-
- for (OperationMap::const_iterator it2 = this->operations.begin(); it2
!= this->operations.end(); ++it2) {
- printf(" %s : %s\n", it2->first.identifier().c_str(),
it2->second->identifier().c_str());
- }
-
OperationMap::const_iterator it = this->operations.find(key);
- printf("found = %p\n===\n", (it != this->operations.end()) ? it->second
: NULL);
-
return (it != this->operations.end()) ? it->second : NULL;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs