Browse Source

Merge pull request #89732 from azuloo/animation-player-pin-fix

Fix AnimationPlayer pin behavior
Rémi Verschelde 1 year ago
parent
commit
391eaf2a7a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/plugins/animation_player_editor_plugin.cpp

+ 2 - 0
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);
 	}
 }