mirror of
https://github.com/minetest/irrlicht.git
synced 2025-02-23 06:10:22 +01:00
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());
|
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…
x
Reference in New Issue
Block a user