diff --git a/source/Irrlicht/CGLTFMeshFileLoader.cpp b/source/Irrlicht/CGLTFMeshFileLoader.cpp index 277d99f3..5edb1ef7 100644 --- a/source/Irrlicht/CGLTFMeshFileLoader.cpp +++ b/source/Irrlicht/CGLTFMeshFileLoader.cpp @@ -81,7 +81,7 @@ static bool tryParseGLTF(io::IReadFile* file, tinygltf::Model& model) auto buf = std::make_unique(file->getSize()); file->read(buf.get(), file->getSize()); - if (err != "" || warn != "") { + if (err != "") { return false; }