1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00

Separate Node editor dock

This commit is contained in:
Break
2025-11-08 12:22:34 +08:00
parent 235a32ad11
commit ef9738005a
19 changed files with 268 additions and 223 deletions

View File

@@ -45,7 +45,7 @@
#include "editor/doc/editor_help_search.h"
#include "editor/docks/filesystem_dock.h"
#include "editor/docks/inspector_dock.h"
#include "editor/docks/node_dock.h"
#include "editor/docks/signals_dock.h"
#include "editor/editor_interface.h"
#include "editor/editor_main_screen.h"
#include "editor/editor_node.h"
@@ -3022,7 +3022,7 @@ void ScriptEditor::_add_callback(Object *p_obj, const String &p_function, const
break;
}
// Move back to the previously edited node to reselect it in the Inspector and the NodeDock.
// Move back to the previously edited node to reselect it in the Inspector and the SignalsDock.
// We assume that the previous item is the node on which the callbacks were added.
EditorNode::get_singleton()->edit_previous_item();
}
@@ -4009,7 +4009,7 @@ void ScriptEditor::register_create_script_editor_function(CreateScriptEditorFunc
}
void ScriptEditor::_script_changed() {
NodeDock::get_singleton()->update_lists();
SignalsDock::get_singleton()->update_lists();
}
void ScriptEditor::_on_replace_in_files_requested(const String &text) {