mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 03:15:53 +08:00
commit
5bc17bdf5f
@ -1013,7 +1013,6 @@ bool ParseNode(Node &node, std::string &err, const picojson::object &o) {
|
||||
const picojson::array &childrenArray =
|
||||
(childrenObject->second).get<picojson::array>();
|
||||
for (size_t i = 0; i < childrenArray.size(); i++) {
|
||||
Node node;
|
||||
if (!childrenArray[i].is<std::string>()) {
|
||||
err += "Invalid `children` array.\n";
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user