mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 11:35:54 +08:00
Merge pull request #15 from missmah/master
Possible fix for child values not being properly deserialized
This commit is contained in:
commit
36289fb59f
@ -1021,6 +1021,7 @@ static void ParseObjectProperty(Value *ret, const picojson::object &o) {
|
|||||||
} else if (v.is<picojson::object>()) {
|
} else if (v.is<picojson::object>()) {
|
||||||
tinygltf::Value child_value;
|
tinygltf::Value child_value;
|
||||||
ParseObjectProperty(&child_value, v.get<picojson::object>());
|
ParseObjectProperty(&child_value, v.get<picojson::object>());
|
||||||
|
vo[it->first] = child_value;
|
||||||
}
|
}
|
||||||
// TODO(syoyo) binary, array
|
// TODO(syoyo) binary, array
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user