From 5c6ca5fc09e5764ca10df68a4dddb5bec5be1481 Mon Sep 17 00:00:00 2001 From: azuloo Date: Thu, 21 Mar 2024 08:42:33 +0200 Subject: [PATCH] Fix AnimationPlayer pin behavior --- editor/plugins/animation_player_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index c03dc7efde..a1ff7fc0bf 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -73,6 +73,8 @@ void AnimationPlayerEditor::_node_removed(Node *p_node) { _update_player(); _ensure_dummy_player(); + + pin->set_pressed(false); } }