mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Fix Stop button not working at the end of a non-looped animation
This commit is contained in:
parent
09b929b729
commit
43a130dabe
1 changed files with 1 additions and 1 deletions
|
@ -64,8 +64,8 @@ void AnimationHandle::setRunning(bool running) {
|
|||
if (running) {
|
||||
// move back to the beginning
|
||||
setFrameIndex(getFirstFrame());
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
_animationLoop.setRunning(running);
|
||||
if (isRunning()) {
|
||||
|
|
Loading…
Reference in a new issue