mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-23 06:29:54 +08:00
correct Value::Equals mistake
a missing exclamation mark... ^^
This commit is contained in:
parent
b3c1471317
commit
a63cc6373d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user