Fix Stop button not working at the end of a non-looped animation

This commit is contained in:
David Rowe 2015-04-07 14:02:42 -07:00
parent 09b929b729
commit 43a130dabe

View file

@ -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()) {