瀏覽代碼

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

Fix AnimationPlayer pin behavior
Rémi Verschelde 1 年之前
父節點
當前提交
391eaf2a7a
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);
 	}
 }