summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorBernhard Liebl <Bernhard.Liebl@gmx.org>2018-03-09 18:42:24 +0100
committerBernhard Liebl <Bernhard.Liebl@gmx.org>2018-03-09 19:41:14 +0100
commitb553b38e7be52003f44bb05165fdae25c5863ab7 (patch)
tree24793aef935813ca551170cb6f3afffbf9c197c8 /scene
parent47addcf9d03da717e54158e455d1fc558b4bd66f (diff)
AnimationPlayer: fix scrubbing after play backwards
Diffstat (limited to 'scene')
-rw-r--r--scene/animation/animation_player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index 9db4a5fb04..04e7d5cc10 100644
--- a/scene/animation/animation_player.cpp
+++ b/scene/animation/animation_player.cpp
@@ -1010,6 +1010,7 @@ void AnimationPlayer::stop(bool p_reset) {
c.blend.clear();
if (p_reset) {
c.current.from = NULL;
+ c.current.speed_scale = 1;
}
_set_process(false);
queued.clear();