Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5654 in orxonox.OLD for trunk/src/lib/coord


Ignore:
Timestamp:
Nov 20, 2005, 9:12:50 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cycle-loading of LoadParam works…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r5652 r5654  
    162162  if (root != NULL)
    163163  {
    164     const TiXmlElement* element = root->FirstChildElement();
    165     while (element != NULL)
     164    LOAD_PARAM_START_CYCLE(root, element);
    166165    {
    167       LoadParam<PNode>(element, "parent", this, &PNode::addChild, true)
     166      LoadParam_CYCLE(element, "parent", this, PNode, addChild)
    168167          .describe("adds a new Child to the current Node.");
    169168
    170       element = element->NextSiblingElement();
    171169    }
     170    LOAD_PARAM_END_CYCLE(element);
    172171  }
    173172}
Note: See TracChangeset for help on using the changeset viewer.