Changeset 9614 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 30, 2006, 12:31:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/coord/p_node.cc
r9406 r9614 90 90 if (this == PNode::nullParent && (*deleteNode)->parentMode & PNODE_REPARENT_TO_NULL) 91 91 { 92 PRINTF( 4)("%s::%s deletes %s::%s\n",92 PRINTF(1)("%s::%s deletes %s::%s\n", 93 93 this->getClassCName(), this->getCName(), 94 94 (*deleteNode)->getClassCName(), (*deleteNode)->getCName()); … … 97 97 else 98 98 { 99 PRINTF( 4)("%s::%s reparents %s::%s\n",99 PRINTF(1)("%s::%s reparents %s::%s\n", 100 100 this->getClassCName(), this->getCName(), 101 101 (*deleteNode)->getClassCName(), (*deleteNode)->getCName()); … … 105 105 else 106 106 { 107 PRINTF( 4)("%s::%s deletes PNode: %s::%s\n",107 PRINTF(1)("%s::%s deletes PNode: %s::%s\n", 108 108 this->getClassCName(), this->getCName(), 109 109 (*deleteNode)->getClassCName(), (*deleteNode)->getCName()); … … 487 487 void PNode::addChild (PNode* child) 488 488 { 489 if (unlikely(child->parent == this)) 490 return; 489 491 if( likely(child->parent != NULL)) 490 492 child->parent->eraseChild(child); … … 749 751 { 750 752 const PNode* parent = this; 753 if (this == NULL) 754 return true; 751 755 while ( (parent = parent->getParent()) != NULL) 752 756 if (unlikely(parent == checkParent))
Note: See TracChangeset
for help on using the changeset viewer.