Skip to content

Commit

Permalink
Merge pull request godotengine#85411 from TokageItLab/fix-animpbtrack…
Browse files Browse the repository at this point in the history
…-stop

Make AnimationPlaybackTrack keep state when stopping
  • Loading branch information
akien-mga authored Nov 28, 2023
2 parents d6dd1de + d3a4299 commit a008a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/animation/animation_mixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a008a85

Please sign in to comment.