diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-03 08:38:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-03 08:38:29 +0200 |
commit | 5db77dceb8c5de24d1ead43bb965bcbedf3f06a7 (patch) | |
tree | 1f549f7eedfeedc3e71f73c595d36d55a09b9d0b /editor | |
parent | 79f71ecc819e7dae619a567bce1631d18e29e3f2 (diff) | |
parent | cc85be3aaeb183eb1d9a991317ac3b7d1b3aafe2 (diff) |
Merge pull request #32491 from lupoDharkael/inspector-frame
Inspector: select self object after selecting a stack frame
Diffstat (limited to 'editor')
-rw-r--r-- | editor/script_editor_debugger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index e96dfdd7b9..89d275a90b 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; |