You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #109043 from GabCoolDude/resource-signal-viewer
View resource signals in the Connections Dock
This commit is contained in:
@@ -2673,7 +2673,7 @@ void EditorNode::push_node_item(Node *p_node) {
|
||||
void EditorNode::push_item(Object *p_object, const String &p_property, bool p_inspector_only) {
|
||||
if (!p_object) {
|
||||
InspectorDock::get_inspector_singleton()->edit(nullptr);
|
||||
NodeDock::get_singleton()->set_node(nullptr);
|
||||
NodeDock::get_singleton()->set_object(nullptr);
|
||||
SceneTreeDock::get_singleton()->set_selected(nullptr);
|
||||
InspectorDock::get_singleton()->update(nullptr);
|
||||
hide_unused_editors();
|
||||
@@ -2794,7 +2794,7 @@ void EditorNode::_edit_current(bool p_skip_foreign, bool p_skip_inspector_update
|
||||
if (!current_obj) {
|
||||
SceneTreeDock::get_singleton()->set_selected(nullptr);
|
||||
InspectorDock::get_inspector_singleton()->edit(nullptr);
|
||||
NodeDock::get_singleton()->set_node(nullptr);
|
||||
NodeDock::get_singleton()->set_object(nullptr);
|
||||
InspectorDock::get_singleton()->update(nullptr);
|
||||
EditorDebuggerNode::get_singleton()->clear_remote_tree_selection();
|
||||
hide_unused_editors();
|
||||
@@ -2828,7 +2828,7 @@ void EditorNode::_edit_current(bool p_skip_foreign, bool p_skip_inspector_update
|
||||
if (!p_skip_inspector_update) {
|
||||
InspectorDock::get_inspector_singleton()->edit(current_res);
|
||||
SceneTreeDock::get_singleton()->set_selected(nullptr);
|
||||
NodeDock::get_singleton()->set_node(nullptr);
|
||||
NodeDock::get_singleton()->set_object(current_res);
|
||||
InspectorDock::get_singleton()->update(nullptr);
|
||||
EditorDebuggerNode::get_singleton()->clear_remote_tree_selection();
|
||||
ImportDock::get_singleton()->set_edit_path(current_res->get_path());
|
||||
@@ -2858,7 +2858,7 @@ void EditorNode::_edit_current(bool p_skip_foreign, bool p_skip_inspector_update
|
||||
|
||||
InspectorDock::get_inspector_singleton()->edit(current_node);
|
||||
if (current_node->is_inside_tree()) {
|
||||
NodeDock::get_singleton()->set_node(current_node);
|
||||
NodeDock::get_singleton()->set_object(current_node);
|
||||
SceneTreeDock::get_singleton()->set_selected(current_node);
|
||||
SceneTreeDock::get_singleton()->set_selection({ current_node });
|
||||
InspectorDock::get_singleton()->update(current_node);
|
||||
@@ -2870,7 +2870,7 @@ void EditorNode::_edit_current(bool p_skip_foreign, bool p_skip_inspector_update
|
||||
}
|
||||
}
|
||||
} else {
|
||||
NodeDock::get_singleton()->set_node(nullptr);
|
||||
NodeDock::get_singleton()->set_object(nullptr);
|
||||
SceneTreeDock::get_singleton()->set_selected(nullptr);
|
||||
InspectorDock::get_singleton()->update(nullptr);
|
||||
}
|
||||
@@ -2918,7 +2918,7 @@ void EditorNode::_edit_current(bool p_skip_foreign, bool p_skip_inspector_update
|
||||
}
|
||||
|
||||
InspectorDock::get_inspector_singleton()->edit(current_obj);
|
||||
NodeDock::get_singleton()->set_node(nullptr);
|
||||
NodeDock::get_singleton()->set_object(nullptr);
|
||||
SceneTreeDock::get_singleton()->set_selected(selected_node);
|
||||
SceneTreeDock::get_singleton()->set_selection(multi_nodes);
|
||||
InspectorDock::get_singleton()->update(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user