diff --git a/tiny_gltf.h b/tiny_gltf.h index 6f7d341..9e3c9f8 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -3217,7 +3217,7 @@ static bool ParseNumberArrayProperty(std::vector *ret, std::string *err, for (auto i = ArrayBegin(GetValue(it)); i != end; ++i) { double numberValue; - const bool isNumber = GetDouble(*i, numberValue); + const bool isNumber = GetNumber(*i, numberValue); if (!isNumber) { if (required) { if (err) {