KRAnimation::Play() no longer seeks back to the start of the animation automatically.
Use KRAnimation::SetTime(0.0f) to seek to the beginning manually if needed. --HG-- branch : nfb
This commit is contained in:
@@ -173,7 +173,6 @@ void KRAnimation::update(float deltaTime)
|
|||||||
|
|
||||||
void KRAnimation::Play()
|
void KRAnimation::Play()
|
||||||
{
|
{
|
||||||
m_local_time = 0.0f;
|
|
||||||
m_playing = true;
|
m_playing = true;
|
||||||
getContext().getAnimationManager()->updateActiveAnimations(this);
|
getContext().getAnimationManager()->updateActiveAnimations(this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user