From 8d4e878ff6384e9595f285b365178bca0d21ca32 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 20 Aug 2022 19:36:33 +0200 Subject: [PATCH] Don't treat a hidden main button as an indicator that their editor plugin is disabled. This behavior was used to be a part of editor feature profiles, which I removed a long time ago. --- editor/editor_node.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 6ce446308..6f20d27db 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -2071,10 +2071,6 @@ void EditorNode::_edit_current(bool p_skip_foreign) { int plugin_index = 0; for (; plugin_index < editor_table.size(); plugin_index++) { if (editor_table[plugin_index] == main_plugin) { - if (!main_editor_buttons[plugin_index]->is_visible()) { - main_plugin = nullptr; //if button is not visible, then no plugin active - } - break; } }