mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-06-08 03:03:50 +00:00
fixed ParseAnimation loading animation's extensions into sampler instead of sample's extensions.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user