diff options
author | Silc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com> | 2023-11-27 12:13:57 +0900 |
---|---|---|
committer | Silc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com> | 2023-11-27 12:14:25 +0900 |
commit | d3a429962f304dcbf6cc66721b54e7fd787073a6 (patch) | |
tree | c889670be5fb27439bde946c9f9e819b57068155 | |
parent | 1ba920fada9efc8c4476ded50fe673b8db541366 (diff) | |
download | redot-engine-d3a429962f304dcbf6cc66721b54e7fd787073a6.tar.gz |
Make AnimationPlaybakTrack keep state when stopping
-rw-r--r-- | scene/animation/animation_mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_mixer.cpp b/scene/animation/animation_mixer.cpp index dbd790003a..479311e966 100644 --- a/scene/animation/animation_mixer.cpp +++ b/scene/animation/animation_mixer.cpp @@ -563,7 +563,7 @@ void AnimationMixer::_clear_audio_streams() { void AnimationMixer::_clear_playing_caches() { for (const TrackCache *E : playing_caches) { if (ObjectDB::get_instance(E->object_id)) { - E->object->call(SNAME("stop")); + E->object->call(SNAME("stop"), true); } } playing_caches.clear(); |