From cc85be3aaeb183eb1d9a991317ac3b7d1b3aafe2 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Wed, 2 Oct 2019 12:38:31 +0200 Subject: [PATCH] Inspector: select self object after selecting a stack frame --- editor/script_editor_debugger.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index e96dfdd7b98..89d275a90bc 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -728,6 +728,10 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da } variables->add_property("Members/" + n, v, h, hs); + + if (n == "self") { + _scene_tree_property_select_object(v); + } } ofs += mcount * 2;