summaryrefslogtreecommitdiff
path: root/editor/debugger
diff options
context:
space:
mode:
authorZae <zaevi@live.com>2022-11-25 11:09:18 +0800
committerZae <zaevi@live.com>2022-11-25 11:09:18 +0800
commit50704f27eddddc70816f1efb1a6df852d9a182f1 (patch)
tree5c95d2187cce773e8544d1b9cf21d6a00ab5e8cd /editor/debugger
parentcdfef0c852d10cd14a275fffb8b3ad572b96074b (diff)
FIx debugger can't inspect sub objects.
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/script_editor_debugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp
index 178010d852..d419e16b12 100644
--- a/editor/debugger/script_editor_debugger.cpp
+++ b/editor/debugger/script_editor_debugger.cpp
@@ -1656,6 +1656,8 @@ ScriptEditorDebugger::ScriptEditorDebugger() {
add_child(tabs);
+ InspectorDock::get_inspector_singleton()->connect("object_id_selected", callable_mp(this, &ScriptEditorDebugger::_remote_object_selected));
+
{ //debugger
VBoxContainer *vbc = memnew(VBoxContainer);
vbc->set_name(TTR("Debugger"));