Changeset 3669 in orxonox.OLD for orxonox/trunk/src/lib/coord/p_node.cc
- Timestamp:
- Mar 30, 2005, 12:06:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r3668 r3669 354 354 { 355 355 pNode->remove(); 356 //this->children->remove (pNode);356 this->children->remove (pNode); 357 357 pNode->parent = NULL; 358 358 } … … 378 378 } 379 379 delete iterator; 380 //this->parent->removeChild(this);380 this->parent->children->remove(this); 381 381 } 382 382 … … 499 499 500 500 501 PNode* pn = this->children->enumerate(); 501 tIterator<PNode>* iterator = this->children->getIterator(); 502 //PNode* pn = this->children->enumerate(); 503 PNode* pn = iterator->nextElement(); 502 504 while( pn != NULL) 503 505 { … … 509 511 510 512 pn->update(dt); 511 pn = this->children->nextElement(); 512 } 513 //pn = this->children->nextElement(); 514 pn = iterator->nextElement(); 515 } 516 delete iterator; 513 517 514 518 this->timeStamp = timeStamp;
Note: See TracChangeset
for help on using the changeset viewer.