Collada: next methods migrated.

pull/2966/head
kimkulling 2020-08-19 17:10:30 +02:00
parent 56381241c5
commit d393f677ce
2 changed files with 118 additions and 908 deletions

File diff suppressed because it is too large Load Diff

View File

@ -132,7 +132,7 @@ void OgreImporter::InternReadFile(const std::string &pFile, aiScene *pScene, Ass
//std::unique_ptr<XmlReader> reader(irr::io::createIrrXMLReader(xmlStream.get()));
xmlParser.parse(scopedFile.get());
// Import mesh
std::unique_ptr<MeshXml> mesh(OgreXmlSerializer::ImportMesh(xmlParser));
std::unique_ptr<MeshXml> mesh(OgreXmlSerializer::ImportMesh(&xmlParser));
// Import skeleton
OgreXmlSerializer::ImportSkeleton(pIOHandler, mesh.get());