소스 검색

Add missing inspector dock update after node deletion

passivestar 1 년 전
부모
커밋
3cd245c7b1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      editor/scene_tree_dock.cpp

+ 1 - 0
editor/scene_tree_dock.cpp

@@ -2674,6 +2674,7 @@ void SceneTreeDock::_delete_confirm(bool p_cut) {
 	EditorSelectionHistory *editor_history = EditorNode::get_singleton()->get_editor_selection_history();
 	editor_history->cleanup_history();
 	InspectorDock::get_singleton()->call("_prepare_history");
+	InspectorDock::get_singleton()->update(nullptr);
 }
 
 void SceneTreeDock::_update_script_button() {