Skip to content

Commit

Permalink
Merge pull request #501 from msklywenn/release
Browse files Browse the repository at this point in the history
Fix Animation extensions being loaded in place of Sampler extensions
  • Loading branch information
syoyo authored Aug 8, 2024
2 parents 10b23b6 + decfabd commit fda7422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiny_gltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -5605,7 +5605,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));
Expand Down

0 comments on commit fda7422

Please sign in to comment.