Explorar o código

Add missing inspector dock update after node deletion

passivestar hai 1 ano
pai
achega
3cd245c7b1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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() {