mirror of
https://github.com/overte-org/overte.git
synced 2025-06-21 16:21:33 +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,9 +64,9 @@ void AnimationHandle::setRunning(bool running) {
|
|||
if (running) {
|
||||
// move back to the beginning
|
||||
setFrameIndex(getFirstFrame());
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
_animationLoop.setRunning(running);
|
||||
if (isRunning()) {
|
||||
if (!_model->_runningAnimations.contains(_self)) {
|
||||
|
|
Loading…
Reference in a new issue