Reseek if cachees were cleared in animation player, fixes #19424
This commit is contained in:
parent
634aa4fc24
commit
0ab71689ae
|
@ -1348,6 +1348,9 @@ void AnimationPlayer::_animation_changed() {
|
||||||
|
|
||||||
clear_caches();
|
clear_caches();
|
||||||
emit_signal("caches_cleared");
|
emit_signal("caches_cleared");
|
||||||
|
if (is_playing()) {
|
||||||
|
playback.seeked = true; //need to restart stuff, like audio
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationPlayer::_stop_playing_caches() {
|
void AnimationPlayer::_stop_playing_caches() {
|
||||||
|
|
Loading…
Reference in New Issue