diff --git a/tiny_gltf.h b/tiny_gltf.h index 2fa0c21..1e99643 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -5597,7 +5597,7 @@ static bool ParseAnimation(Animation *animation, std::string *err, } sampler.input = inputIndex; sampler.output = outputIndex; - ParseExtrasAndExtensions(&sampler, err, o, + ParseExtrasAndExtensions(&sampler, err, s, store_original_json_for_extras_and_extensions); animation->samplers.emplace_back(std::move(sampler));