Skip to content

Commit

Permalink
Merge pull request #31989 from sparkart/revert-30833-fix_inspector_cl…
Browse files Browse the repository at this point in the history
…ear_remote_node

Revert "Fix Clearing Inspector for Remote Node"
  • Loading branch information
akien-mga authored Sep 5, 2019
2 parents 768d637 + 2bac4e1 commit 4ee8ecd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions editor/editor_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {

Expand Down
2 changes: 1 addition & 1 deletion editor/script_editor_debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4ee8ecd

Please sign in to comment.