Changeset 7125 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Feb 12, 2006, 6:06:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r7008 r7125 80 80 PNode::~PNode () 81 81 { 82 printf("delete PNode: %s::%s\n", this->getClassName(), this->getName()); 82 83 // remove the Node, delete it's children (if required). 83 84 std::list<PNode*>::iterator tmp = this->children.begin(); … … 93 94 { 94 95 if (this == PNode::nullParent && (*deleteNode)->parentMode & PNODE_REPARENT_TO_NULL) 96 { 97 printf("%s::%s deletes PNode: %s::%s\n", 98 this->getClassName(), this->getName(), 99 (*deleteNode)->getClassName(), (*deleteNode)->getName()); 95 100 delete (*deleteNode); 101 } 96 102 else 103 { 104 printf("%s::%s reparents PNode: %s::%s\n", 105 this->getClassName(), this->getName(), 106 (*deleteNode)->getClassName(), (*deleteNode)->getName()); 107 97 108 (*deleteNode)->reparent(); 109 } 98 110 } 99 111 else 112 { 113 printf("%s::%s deletes PNode: %s::%s\n", 114 this->getClassName(), this->getName(), 115 (*deleteNode)->getClassName(), (*deleteNode)->getName()); 100 116 delete (*deleteNode); 117 } 101 118 } 102 119
Note: See TracChangeset
for help on using the changeset viewer.