diff options
-rw-r--r-- | extern/tinygltf/README.blender | 3 | ||||
-rw-r--r-- | extern/tinygltf/tiny_gltf.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/extern/tinygltf/README.blender b/extern/tinygltf/README.blender index fe23d320b77..2aba84dea80 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 185bb0daa98..099e0c76d92 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; |