Skip to content

Commit

Permalink
gltf fix MakeSamples middle end frame time
Browse files Browse the repository at this point in the history
  • Loading branch information
PredatorCZ committed May 12, 2024
1 parent 5f2a8a7 commit cf5df48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gltf/gltf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ std::vector<float> MakeSamples(float sampleRate, float duration) {
cdur += fraction;
}

times.back() = duration;
times.emplace_back(duration);
return times;
}

Expand Down

0 comments on commit cf5df48

Please sign in to comment.