mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #85411 from TokageItLab/fix-animpbtrack-stop
Make AnimationPlaybackTrack keep state when stopping
This commit is contained in:
commit
a008a85443
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue