From a63cc6373d89a1297da85dba353267791e4a4316 Mon Sep 17 00:00:00 2001 From: Selmar Date: Tue, 16 Apr 2019 16:57:43 +0200 Subject: [PATCH] correct Value::Equals mistake a missing exclamation mark... ^^ --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index e722426..3b507a6 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -1213,7 +1213,7 @@ static bool Equals(const tinygltf::Value &one, const tinygltf::Value &other) { case ARRAY_TYPE: { if (one.Size() != other.Size()) return false; for (int i = 0; i < int(one.Size()); ++i) - if (Equals(one.Get(i), other.Get(i))) return false; + if (!Equals(one.Get(i), other.Get(i))) return false; return true; } case STRING_TYPE: