mirror of https://github.com/godotengine/godot
Make AnimationPlaybakTrack keep state when stopping
This commit is contained in:
parent
1ba920fada
commit
d3a429962f
|
|
@ -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…
Reference in New Issue