mirror of
https://github.com/lubosz/overte.git
synced 2025-04-17 00:57:44 +02:00
Take timeScale into account during interps & setCurrentFrame()
This commit is contained in:
parent
54aa0677f6
commit
77b857031b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ void AnimClip::loadURL(const std::string& url) {
|
|||
|
||||
void AnimClip::setCurrentFrameInternal(float frame) {
|
||||
const float dt = 0.0f;
|
||||
_frame = accumulateTime(frame, dt);
|
||||
_frame = accumulateTime(frame * _timeScale, dt);
|
||||
}
|
||||
|
||||
float AnimClip::accumulateTime(float frame, float dt) const {
|
||||
|
|
Loading…
Reference in a new issue