1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

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
2 changed files with 1 additions and 4 deletions

View File

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

View File

@@ -1409,7 +1409,7 @@ void ScriptEditorDebugger::stop() {
profiler->set_enabled(true); profiler->set_enabled(true);
inspect_scene_tree->clear(); 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_pressed(false);
EditorNode::get_singleton()->get_pause_button()->set_disabled(true); EditorNode::get_singleton()->get_pause_button()->set_disabled(true);
EditorNode::get_singleton()->get_scene_tree_dock()->hide_remote_tree(); EditorNode::get_singleton()->get_scene_tree_dock()->hide_remote_tree();