Преглед на файлове

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() {