mirror of
https://github.com/minetest/irrlicht.git
synced 2025-02-11 17:10:23 +01:00
Do not fail to load glTF because of warnings
This commit is contained in:
parent
280eb5b27f
commit
a67232f2d0
@ -81,7 +81,7 @@ static bool tryParseGLTF(io::IReadFile* file, tinygltf::Model& model)
|
|||||||
auto buf = std::make_unique<char[]>(file->getSize());
|
auto buf = std::make_unique<char[]>(file->getSize());
|
||||||
file->read(buf.get(), file->getSize());
|
file->read(buf.get(), file->getSize());
|
||||||
|
|
||||||
if (err != "" || warn != "") {
|
if (err != "") {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user