Changeset 5778 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Nov 25, 2005, 3:41:18 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r5775 r5778 74 74 { 75 75 // remove the Node, delete it's children. 76 list<Element2D*>::iterator child; 77 for (child = this->children.begin(); child != this->children.end(); child++) 78 delete *child; 79 76 while (this->children.size() > 0) 77 { 78 Element2D* child = this->children.front(); 79 this->children.pop_front(); 80 delete child; 81 } 80 82 if (this->parent != NULL) 81 83 {
Note: See TracChangeset
for help on using the changeset viewer.