Changeset 5115 in orxonox.OLD for trunk/src/lib/graphics/render2D
- Timestamp:
- Aug 24, 2005, 1:30:13 AM (19 years ago)
- Location:
- trunk/src/lib/graphics/render2D
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r5113 r5115 55 55 56 56 tIterator<Element2D>* iterator = this->children->getIterator(); 57 Element2D* pn = iterator-> nextElement();57 Element2D* pn = iterator->firstElement(); 58 58 while( pn != NULL) 59 59 { … … 479 479 { 480 480 tIterator<Element2D>* iterator = this->children->getIterator(); 481 Element2D* pn = iterator-> nextElement();481 Element2D* pn = iterator->firstElement(); 482 482 483 483 while( pn != NULL) … … 687 687 { 688 688 tIterator<Element2D>* iterator = this->children->getIterator(); 689 Element2D* pn = iterator-> nextElement();689 Element2D* pn = iterator->firstElement(); 690 690 while( pn != NULL) 691 691 { … … 697 697 698 698 pn->update2D(dt); 699 //pn = this->children->nextElement();700 699 pn = iterator->nextElement(); 701 700 } … … 735 734 { 736 735 tIterator<Element2D>* iterator = this->children->getIterator(); 737 Element2D* pn = iterator-> nextElement();736 Element2D* pn = iterator->firstElement(); 738 737 while( pn != NULL) 739 738 { -
trunk/src/lib/graphics/render2D/render_2d.cc
r5111 r5115 105 105 { 106 106 tIterator<Element2D>* iterator = this->element2DList[i]->getIterator(); 107 Element2D* elem = iterator-> nextElement();107 Element2D* elem = iterator->firstElement(); 108 108 while (elem != NULL) 109 109 { … … 131 131 { 132 132 tIterator<Element2D>* iterator = this->element2DList[i]->getIterator(); 133 Element2D* elem = iterator-> nextElement();133 Element2D* elem = iterator->firstElement(); 134 134 while (elem != NULL) 135 135 {
Note: See TracChangeset
for help on using the changeset viewer.