Fix current_animation_changed emission on animation finish
This commit is contained in:
parent
a210fe6dbd
commit
540eca9099
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue