Explorar el Código

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

Fix AnimationPlayer pin behavior
Rémi Verschelde hace 1 año
padre
commit
391eaf2a7a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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);
 	}
 }