diff options
author | lupoDharkael <izhe@hotmail.es> | 2019-10-02 12:38:31 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2019-10-02 12:38:31 +0200 |
commit | cc85be3aaeb183eb1d9a991317ac3b7d1b3aafe2 (patch) | |
tree | 4c12c1ae2280ebab94abb1cdda2d9e62581a18ec /editor/script_editor_debugger.cpp | |
parent | 871a9d5d56ead0b640618762cd945be0fb2cff97 (diff) | |
download | redot-engine-cc85be3aaeb183eb1d9a991317ac3b7d1b3aafe2.tar.gz |
Inspector: select self object after selecting a stack frame
Diffstat (limited to 'editor/script_editor_debugger.cpp')
-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; |