Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 3, 2005, 5:04:20 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: error in loading of PNode fixed, and the Framework starts again, (also loads the settings of the GraphicsEngine)

File:
1 edited

Legend:

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

    r4771 r4785  
    139139
    140140  // cycling properties
    141   const TiXmlElement* element = root->FirstChildElement();
    142   while (element != NULL)
     141  if (root != NULL)
    143142  {
    144     LoadParam<PNode>(root, "parent", this, &PNode::addChild, true)
    145         .describe("adds a new Child to the current Node.");
    146 
    147     element = element->NextSiblingElement();
     143    const TiXmlElement* element = root->FirstChildElement();
     144    while (element != NULL)
     145    {
     146      LoadParam<PNode>(root, "parent", this, &PNode::addChild, true)
     147          .describe("adds a new Child to the current Node.");
     148
     149      element = element->NextSiblingElement();
     150    }
    148151  }
    149152}
Note: See TracChangeset for help on using the changeset viewer.