Changeset 5115 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Aug 24, 2005, 1:30:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r5113 r5115 78 78 PNode::~PNode () 79 79 { 80 printf("deleting %s::%s\n", this->getClassName(), this->getName()); 80 81 tIterator<PNode>* iterator = this->children->getIterator(); 81 PNode* pn = iterator-> nextElement();82 PNode* pn = iterator->firstElement(); 82 83 while( pn != NULL) 83 84 { … … 435 436 436 437 tIterator<PNode>* iterator = this->children->getIterator(); 437 PNode* pn = iterator-> nextElement();438 PNode* pn = iterator->firstElement(); 438 439 439 440 while( pn != NULL) … … 605 606 { 606 607 tIterator<PNode>* iterator = this->children->getIterator(); 607 PNode* pn = iterator-> nextElement();608 PNode* pn = iterator->firstElement(); 608 609 while( pn != NULL) 609 610 { … … 615 616 616 617 pn->update(dt); 617 //pn = this->children->nextElement();618 618 pn = iterator->nextElement(); 619 619 } … … 656 656 tIterator<PNode>* iterator = this->children->getIterator(); 657 657 //PNode* pn = this->children->enumerate (); 658 PNode* pn = iterator-> nextElement();658 PNode* pn = iterator->firstElement(); 659 659 while( pn != NULL) 660 660 { … … 722 722 if (depth >= 2 || depth == 0) 723 723 { 724 Vector childColor = Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(20,0,.0)); 725 724 726 tIterator<PNode>* iterator = this->children->getIterator(); 725 //PNode* pn = this->children->enumerate (); 726 Vector childColor = Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(20,0,.0)); 727 PNode* pn = iterator->nextElement(); 727 PNode* pn = iterator->firstElement(); 728 728 while( pn != NULL) 729 729 {
Note: See TracChangeset
for help on using the changeset viewer.