Browse Source

Fix AnimationPlayer pin behavior

azuloo 1 year ago
parent
commit
5c6ca5fc09
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();
 		_update_player();
 
 
 		_ensure_dummy_player();
 		_ensure_dummy_player();
+
+		pin->set_pressed(false);
 	}
 	}
 }
 }