You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Merge pull request #105089 from Summersay415/current-anim
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);
|
_set_process(false);
|
||||||
if (end_notify) {
|
if (end_notify) {
|
||||||
emit_signal(SceneStringName(animation_finished), playback.assigned);
|
emit_signal(SceneStringName(animation_finished), playback.assigned);
|
||||||
|
emit_signal(SNAME("current_animation_changed"), "");
|
||||||
if (movie_quit_on_finish && OS::get_singleton()->has_feature("movie")) {
|
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()));
|
print_line(vformat("Movie Maker mode is enabled. Quitting on animation finish as requested by: %s", get_path()));
|
||||||
get_tree()->quit();
|
get_tree()->quit();
|
||||||
|
|||||||
Reference in New Issue
Block a user