summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 1dc31fa8e3..19173c6b44 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1558,8 +1558,6 @@ void EditorNode::_edit_current() {
editor_plugin_screen->edit(current_obj);
}
- } else {
- editor_plugin_screen->edit(current_obj);
}
Vector<EditorPlugin *> sub_plugins = editor_data.get_subeditors(current_obj);