Merge pull request #31989 from sparkart/revert-30833-fix_inspector_clear_remote_node

Revert "Fix Clearing Inspector for Remote Node"
This commit is contained in:
Rémi Verschelde 2019-09-05 17:38:57 +02:00 committed by GitHub
commit 4ee8ecd3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -78,9 +78,6 @@ 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

@ -1409,7 +1409,7 @@ void ScriptEditorDebugger::stop() {
profiler->set_enabled(true);
inspect_scene_tree->clear();
EditorNode::get_singleton()->edit_current();
inspector->edit(NULL);
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();