diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-23 09:13:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-23 09:13:06 +0200 |
commit | 0cff5d0b30bef7fafc32425275c5be28fb8828f5 (patch) | |
tree | fcab5c14dfd71a6218323e317651a567d168fb2b /editor/script_editor_debugger.cpp | |
parent | bfed4b6a9781099589f71cf5e70ad9848f7fd3dc (diff) | |
parent | 2f2abadefe91ad3fb1c81be46f4573988b8226be (diff) |
Merge pull request #30833 from sparkart/fix_inspector_clear_remote_node
Fix Clearing Inspector for Remote Node
Diffstat (limited to 'editor/script_editor_debugger.cpp')
-rw-r--r-- | editor/script_editor_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index f7ff754a0b..fc5aecdbe9 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -1376,7 +1376,7 @@ void ScriptEditorDebugger::stop() { profiler->set_enabled(true); inspect_scene_tree->clear(); - inspector->edit(NULL); + EditorNode::get_singleton()->edit_current(); EditorNode::get_singleton()->get_pause_button()->set_pressed(false); EditorNode::get_singleton()->get_pause_button()->set_disabled(true); EditorNode::get_singleton()->get_scene_tree_dock()->hide_remote_tree(); |