mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-06 02:35:12 +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: {
|
case ARRAY_TYPE: {
|
||||||
if (one.Size() != other.Size()) return false;
|
if (one.Size() != other.Size()) return false;
|
||||||
for (int i = 0; i < int(one.Size()); ++i)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
case STRING_TYPE:
|
case STRING_TYPE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user