Changeset 4785 in orxonox.OLD for orxonox/trunk/src/lib/coord
- Timestamp:
- Jul 3, 2005, 5:04:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r4771 r4785 139 139 140 140 // cycling properties 141 const TiXmlElement* element = root->FirstChildElement(); 142 while (element != NULL) 141 if (root != NULL) 143 142 { 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 } 148 151 } 149 152 }
Note: See TracChangeset
for help on using the changeset viewer.