mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Fix current_animation_changed emission on animation finish
This commit is contained in:
@@ -345,6 +345,7 @@ void AnimationPlayer::_blend_post_process() {
|
||||
_set_process(false);
|
||||
if (end_notify) {
|
||||
emit_signal(SceneStringName(animation_finished), playback.assigned);
|
||||
emit_signal(SNAME("current_animation_changed"), "");
|
||||
if (movie_quit_on_finish && OS::get_singleton()->has_feature("movie")) {
|
||||
print_line(vformat("Movie Maker mode is enabled. Quitting on animation finish as requested by: %s", get_path()));
|
||||
get_tree()->quit();
|
||||
|
||||
Reference in New Issue
Block a user