update assimp

This commit is contained in:
Garux
2021-04-07 01:56:00 +03:00
parent b1043424ed
commit 31a79faee4
23 changed files with 285 additions and 182 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";
}