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