correct Value::Equals mistake

a missing exclamation mark... ^^
This commit is contained in:
Selmar 2019-04-16 16:57:43 +02:00 committed by GitHub
parent b3c1471317
commit a63cc6373d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: