summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-25 10:01:58 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-25 10:01:58 +0100
commit569e5fd1aa3ad8cdf6458d9199afddc4c6755eea (patch)
tree097dbcb902c608b8dfcdd768958f895b476c5dc4
parente81b787d36ee06d4a7c83fba8283c0da6acf61c6 (diff)
parent50704f27eddddc70816f1efb1a6df852d9a182f1 (diff)
Merge pull request #69148 from zaevi/fix_debugger_inspect_sub_object
Fix debugger can't inspect sub objects.
-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"));