Fix parsing for AMF-Files.

This commit is contained in:
Kim Kulling
2021-04-03 10:25:03 +02:00
parent 89a8f87dae
commit da0543972b
15 changed files with 136 additions and 184 deletions

View File

@@ -137,7 +137,7 @@ bool EmbedTexturesProcess::addTexture(aiScene* pScene, std::string path) const {
pTexture->pcData = imageContent;
auto extension = path.substr(path.find_last_of('.') + 1u);
extension = ai_str_tolower(extension);
extension = ai_tolower(extension);
if (extension == "jpeg") {
extension = "jpg";
}