diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index be73c9d349..b706283d07 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -4272,7 +4272,7 @@ void PrintConfigDef::init_fff_params() def->min = 0; def->max = 90; def->mode = comExpert; - def->set_default_value(new ConfigOptionFloat(0)); + def->set_default_value(new ConfigOptionFloat(35)); def = this->add("zaa_dont_alternate_fill_direction", coBool); def->label = L("Don't alternate fill direction"); @@ -6770,7 +6770,7 @@ void PrintConfigDef::init_fff_params() def->enum_labels.emplace_back(L("Cone")); def->enum_labels.emplace_back(L("Rib")); def->mode = comAdvanced; - def->set_default_value(new ConfigOptionEnum(wtwRectangle)); + def->set_default_value(new ConfigOptionEnum(wtwRib)); def = this->add("wipe_tower_extra_rib_length", coFloat); def->label = L("Extra rib length"); diff --git a/src/slic3r/GUI/ParamsPanel.cpp b/src/slic3r/GUI/ParamsPanel.cpp index 2c18edfaeb..c694f8647f 100644 --- a/src/slic3r/GUI/ParamsPanel.cpp +++ b/src/slic3r/GUI/ParamsPanel.cpp @@ -279,9 +279,12 @@ ParamsPanel::ParamsPanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, c }); m_mode_icon->SetToolTip(_L("Cycle settings visibility")); m_mode_view = new ModeSwitchButton(m_top_panel); - m_mode_view->SetSelection(mode_to_selection(wxGetApp().get_saved_mode())); - if (wxGetApp().get_mode() == comDevelop) + if (wxGetApp().get_mode() == comDevelop) { + m_mode_view->SetSelection(mode_to_selection(comExpert)); m_mode_view->Enable(false); + } else { + m_mode_view->SetSelection(mode_to_selection(wxGetApp().get_saved_mode())); + } // BBS: new layout //m_search_btn = new ScalableButton(m_top_panel, wxID_ANY, "search", wxEmptyString, wxDefaultSize, wxDefaultPosition, wxBU_EXACTFIT | wxNO_BORDER, true); @@ -648,12 +651,13 @@ void ParamsPanel::update_mode() if (mode_view == nullptr) return; - mode_view->SetSelection(mode_to_selection(Slic3r::GUI::wxGetApp().get_saved_mode())); if (app_mode == comDevelop) { + mode_view->SetSelection(mode_to_selection(comExpert)); mode_view->Enable(false); return; } + mode_view->SetSelection(mode_to_selection(Slic3r::GUI::wxGetApp().get_saved_mode())); if (!mode_view->IsEnabled()) mode_view->Enable(); }; diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 1affaebc5c..e80ba82e53 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -424,9 +424,12 @@ void Tab::create_preset_tab() }); m_top_sizer->Add(m_mode_icon, 0, wxALIGN_CENTER_VERTICAL | wxLEFT, FromDIP(SidebarProps::WideSpacing())); m_mode_view = new ModeSwitchButton(m_top_panel); - m_mode_view->SetSelection(mode_to_selection(wxGetApp().get_saved_mode())); - if (wxGetApp().get_mode() == comDevelop) + if (wxGetApp().get_mode() == comDevelop) { + m_mode_view->SetSelection(mode_to_selection(comExpert)); m_mode_view->Enable(false); + } else { + m_mode_view->SetSelection(mode_to_selection(wxGetApp().get_saved_mode())); + } m_top_sizer->AddSpacer(FromDIP(SidebarProps::ElementSpacing())); m_top_sizer->Add( m_mode_view, 0, wxALIGN_CENTER_VERTICAL); }