diff --git a/extern/tinygltf/README.blender b/extern/tinygltf/README.blender index fe23d320b77dee2916747f85db04c604b55e5619..2aba84dea805e6ad49db6d6a3f954520f873de9d 100644 --- a/extern/tinygltf/README.blender +++ b/extern/tinygltf/README.blender @@ -2,4 +2,5 @@ Project: TinyGLTF URL: https://github.com/syoyo/tinygltf License: MIT Upstream version: 2.5.0, 19a41d20ec0 -Local modifications: None +Local modifications: +* Silence "enum value not handled in switch" warnings due to JSON dependency. diff --git a/extern/tinygltf/tiny_gltf.h b/extern/tinygltf/tiny_gltf.h index 185bb0daa98c5498dc64e762db925eecacbae231..099e0c76d926fce84d7a00236cb9817fd23af635 100644 --- a/extern/tinygltf/tiny_gltf.h +++ b/extern/tinygltf/tiny_gltf.h @@ -3201,6 +3201,7 @@ static bool ParseJsonAsValue(Value *ret, const json &o) { val = Value(o.get<double>()); break; case json::value_t::null: + case json::value_t::binary: case json::value_t::discarded: // default: break;