Do not fail to load glTF because of warnings

This commit is contained in:
JosiahWI 2023-05-13 12:20:15 -05:00 committed by Josiah VanderZee
parent e58e9d5c51
commit dcff130333
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ static bool tryParseGLTF(io::IReadFile* file, tinygltf::Model& model)
auto buf = std::make_unique<char[]>(file->getSize());
file->read(buf.get(), file->getSize());
if (err != "" || warn != "") {
if (err != "") {
return false;
}