From 4014bcbbd57c3b734cb7eb7874b5c14e67a2aa57 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Wed, 17 Aug 2022 15:27:57 +0200 Subject: [PATCH] Fix for #8618 - Unable to "split to objects" on macOS + Fix for #SPE-1266 - Detach from system filament preset button is still visible when preset is detached --- src/slic3r/GUI/GUI_Factories.cpp | 2 +- src/slic3r/GUI/Tab.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GUI_Factories.cpp b/src/slic3r/GUI/GUI_Factories.cpp index 6a3dad5f4..8f69ca811 100644 --- a/src/slic3r/GUI/GUI_Factories.cpp +++ b/src/slic3r/GUI/GUI_Factories.cpp @@ -941,7 +941,7 @@ void MenuFactory::create_object_menu() []() { return plater()->can_split(false); }, m_parent); append_submenu(&m_object_menu, split_menu, wxID_ANY, _L("Split"), _L("Split the selected object"), "", - []() { return plater()->can_split(true) && wxGetApp().get_mode() > comSimple; }, m_parent); + []() { return plater()->can_split(true); }, m_parent); m_object_menu.AppendSeparator(); // "Height range Modifier" and "Add (volumes)" menu items will be added later in append_menu_items_add_volume() diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index d27bfc931..8f38a1525 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -919,7 +919,7 @@ void Tab::update_visibility() page->update_visibility(m_mode, page.get() == m_active_page); rebuild_page_tree(); - if (m_type == Preset::TYPE_SLA_PRINT || m_type == Preset::TYPE_PRINT) + if (m_type != Preset::TYPE_PRINTER) update_description_lines(); Layout();