1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

AnimationPlayer: fix scrubbing after play backwards

This commit is contained in:
Bernhard Liebl
2018-03-09 18:42:24 +01:00
parent 47addcf9d0
commit b553b38e7b
2 changed files with 2 additions and 0 deletions

View File

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