From dcff130333785c339b2d0fd1a6da50a2a0440287 Mon Sep 17 00:00:00 2001 From: JosiahWI Date: Sat, 13 May 2023 12:20:15 -0500 Subject: [PATCH] Do not fail to load glTF because of warnings --- source/Irrlicht/CGLTFMeshFileLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Irrlicht/CGLTFMeshFileLoader.cpp b/source/Irrlicht/CGLTFMeshFileLoader.cpp index 277d99f31..5edb1ef73 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; }