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
This commit is contained in:
YuSanka 2022-08-17 15:27:57 +02:00
parent 429b65dba3
commit 4014bcbbd5
2 changed files with 2 additions and 2 deletions

View File

@ -941,7 +941,7 @@ void MenuFactory::create_object_menu()
[]() { return plater()->can_split(false); }, m_parent); []() { return plater()->can_split(false); }, m_parent);
append_submenu(&m_object_menu, split_menu, wxID_ANY, _L("Split"), _L("Split the selected object"), "", 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(); m_object_menu.AppendSeparator();
// "Height range Modifier" and "Add (volumes)" menu items will be added later in append_menu_items_add_volume() // "Height range Modifier" and "Add (volumes)" menu items will be added later in append_menu_items_add_volume()

View File

@ -919,7 +919,7 @@ void Tab::update_visibility()
page->update_visibility(m_mode, page.get() == m_active_page); page->update_visibility(m_mode, page.get() == m_active_page);
rebuild_page_tree(); rebuild_page_tree();
if (m_type == Preset::TYPE_SLA_PRINT || m_type == Preset::TYPE_PRINT) if (m_type != Preset::TYPE_PRINTER)
update_description_lines(); update_description_lines();
Layout(); Layout();