diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index 02fa582da49..5d60de973ab 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -345,6 +345,7 @@ void AnimationPlayerEditor::_animation_selected(int p_which) { } frame->set_max((double)anim->get_length()); autoplay->set_pressed(current == player->get_autoplay()); + player->stop(); } else { track_editor->set_animation(Ref(), true); track_editor->set_root(nullptr);