diff options
author | Silc Renew <tokage.it.lab@gmail.com> | 2022-12-05 09:30:47 +0900 |
---|---|---|
committer | Silc Renew <tokage.it.lab@gmail.com> | 2022-12-05 15:59:08 +0900 |
commit | 8c540b1d7194e41caa11975cb6f71fe988d10447 (patch) | |
tree | eeddaff77d4887c21b824065a6086a578a0c6a29 /scene/animation | |
parent | 55da3c1631906d7daabcc8bb5b43a74235567f39 (diff) |
Fix animation play backward doesn't process current key&animtrack seek
Diffstat (limited to 'scene/animation')
-rw-r--r-- | scene/animation/animation_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index ca1befc135..f7baa7facc 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -955,7 +955,7 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, double break; } - if (player->is_playing() || p_seeked) { + if (player->is_playing()) { player->play(anim_name); player->seek(at_anim_pos); nc->animation_playing = true; |