Fix up scene loading. pugixml is a breadth-first parser while irrxml is
a depth first. This only parses scene structure, no mesh loading yet.
This commit is contained in:
@@ -176,7 +176,7 @@ void IRRMeshImporter::InternReadFile(const std::string &pFile,
|
||||
ASSIMP_LOG_WARN("IRRMESH: Only one material description per buffer, please");
|
||||
releaseMaterial(&curMat);
|
||||
}
|
||||
curMat = ParseMaterial(curMatFlags);
|
||||
// curMat = ParseMaterial(curMatFlags);
|
||||
}
|
||||
/* no else here! */ if (!ASSIMP_stricmp(child.name(), "vertices")) {
|
||||
pugi::xml_attribute attr = child.attribute("vertexCount");
|
||||
@@ -495,4 +495,8 @@ void IRRMeshImporter::InternReadFile(const std::string &pFile,
|
||||
}
|
||||
}
|
||||
|
||||
void IRRMeshImporter::ParseMaterialBuffer(pugi::xml_node& bufferNode) {
|
||||
|
||||
}
|
||||
|
||||
#endif // !! ASSIMP_BUILD_NO_IRRMESH_IMPORTER
|
||||
|
||||
Reference in New Issue
Block a user