You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Store panels and docks singletons in their own classes
This commit is contained in:
@@ -1043,7 +1043,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
||||
if (node) {
|
||||
node->set_scene_inherited_state(Ref<SceneState>());
|
||||
scene_tree->update_tree();
|
||||
EditorNode::get_singleton()->get_inspector()->update_tree();
|
||||
InspectorDock::get_inspector_singleton()->update_tree();
|
||||
}
|
||||
}
|
||||
} break;
|
||||
@@ -2067,7 +2067,7 @@ void SceneTreeDock::_delete_confirm(bool p_cut) {
|
||||
// Fixes the EditorHistory from still offering deleted notes
|
||||
EditorHistory *editor_history = EditorNode::get_singleton()->get_editor_history();
|
||||
editor_history->cleanup_history();
|
||||
EditorNode::get_singleton()->get_inspector_dock()->call("_prepare_history");
|
||||
InspectorDock::get_singleton()->call("_prepare_history");
|
||||
}
|
||||
|
||||
void SceneTreeDock::_update_script_button() {
|
||||
|
||||
Reference in New Issue
Block a user