diff --git a/tiny_gltf.h b/tiny_gltf.h index 54389cd..1a4be72 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -4563,9 +4563,7 @@ bool TinyGLTF::LoadFromString(Model *model, std::string *err, std::string *warn, } const json &o = it->get(); std::vector nodes; - if (!ParseIntegerArrayProperty(&nodes, err, o, "nodes", false)) { - return false; - } + ParseIntegerArrayProperty(&nodes, err, o, "nodes", false); Scene scene; scene.nodes = std::move(nodes);