Changeset 9667 for code/trunk/src/libraries/core/XMLPort.cc
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (12 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/XMLPort.cc
r8858 r9667 29 29 #include "XMLPort.h" 30 30 31 #include "CoreIncludes.h" 31 32 #include "Loader.h" 32 33 #include "Namespace.h" … … 59 60 for (ticpp::Iterator<ticpp::Element> child = xmlsubelement->FirstChildElement(false); child != child.end(); child++) 60 61 { 61 Identifier* identifier = Identifier::getIdentifierByString(child->Value());62 Identifier* identifier = ClassByString(child->Value()); 62 63 if (!identifier) 63 64 { … … 89 90 orxout(verbose, context::xml) << object->getLoaderIndentation() << "fabricating " << child->Value() << "..." << endl; 90 91 91 BaseObject* newObject = identifier->fabricate(object);92 BaseObject* newObject = orxonox_cast<BaseObject*>(identifier->fabricate(object->getContext())); 92 93 newObject->setLoaderIndentation(object->getLoaderIndentation() + " "); 93 94
Note: See TracChangeset
for help on using the changeset viewer.