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.

This commit is contained in:
Relintai 2022-08-20 19:36:33 +02:00
parent d62fa2b4c9
commit 8d4e878ff6

View File

@ -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;
}
}