From bc9f2b25447635e7be019b18495eecd38340e67d Mon Sep 17 00:00:00 2001 From: Darryl Gough Date: Tue, 8 Mar 2016 00:19:40 -0500 Subject: [PATCH] Fixed loading child nodes Fixed a bug that was preventing child nodes from being loaded. --- tiny_gltf_loader.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tiny_gltf_loader.h b/tiny_gltf_loader.h index 20e2f5a..0d0ab77 100644 --- a/tiny_gltf_loader.h +++ b/tiny_gltf_loader.h @@ -1013,7 +1013,6 @@ bool ParseNode(Node &node, std::string &err, const picojson::object &o) { const picojson::array &childrenArray = (childrenObject->second).get(); for (size_t i = 0; i < childrenArray.size(); i++) { - Node node; if (!childrenArray[i].is()) { err += "Invalid `children` array.\n"; return false;