mirror of https://github.com/minetest/irrlicht.git
Do not fail to load glTF because of warnings
This commit is contained in:
parent
5a190a6ab9
commit
673de228cf
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue