Merge pull request #30833 from sparkart/fix_inspector_clear_remote_node

Fix Clearing Inspector for Remote Node
This commit is contained in:
Rémi Verschelde 2019-08-23 09:13:06 +02:00 committed by GitHub
commit 0cff5d0b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -78,6 +78,9 @@ void EditorPath::_about_to_show() {
}
void EditorPath::update_path() {
set_text("");
set_tooltip("");
set_icon(NULL);
for (int i = 0; i < history->get_path_size(); i++) {

View File

@ -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();