Changeset 5654 in orxonox.OLD for trunk/src/lib/graphics/render2D
- Timestamp:
- Nov 20, 2005, 9:12:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r5652 r5654 165 165 if (root != NULL) 166 166 { 167 const TiXmlElement* element = root->FirstChildElement(); 168 while (element != NULL) 169 { 170 LoadParam<Element2D>(root, "parent", this, &Element2D::addChild2D, true) 167 LOAD_PARAM_START_CYCLE(root, element); 168 { 169 LoadParam_CYCLE(element, "parent", this, Element2D, addChild2D) 171 170 .describe("adds a new Child to the current Node."); 172 173 element = element->NextSiblingElement(); 174 } 171 } 172 LOAD_PARAM_END_CYCLE(element); 175 173 } 176 174 }
Note: See TracChangeset
for help on using the changeset viewer.