diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 6ece69466..696ea641e 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -662,7 +662,6 @@ void PrintConfigDef::init_fff_params() def = this->add("first_layer_sequence_choice", coEnum); def->category = L("Quality"); def->label = L("First layer filament sequence"); - def->tooltip = L("test"); def->enum_keys_map = &ConfigOptionEnum::get_enum_values(); def->enum_values.push_back("Auto"); def->enum_values.push_back("Customize"); diff --git a/src/slic3r/GUI/PlateSettingsDialog.cpp b/src/slic3r/GUI/PlateSettingsDialog.cpp index e473e4992..c75267909 100644 --- a/src/slic3r/GUI/PlateSettingsDialog.cpp +++ b/src/slic3r/GUI/PlateSettingsDialog.cpp @@ -74,15 +74,16 @@ PlateSettingsDialog::PlateSettingsDialog(wxWindow* parent, const wxString& title top_sizer->Add(0, 0, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxALL, FromDIP(0)); top_sizer->Add(m_drag_canvas, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxALL, FromDIP(5)); - m_spiral_mode_choice = new ComboBox(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(FromDIP(240), -1), 0, NULL, wxCB_READONLY); - m_spiral_mode_choice->Append(_L("Same as Global")); - m_spiral_mode_choice->Append(_L("Enable")); - m_spiral_mode_choice->Append(_L("Disable")); - m_spiral_mode_choice->SetSelection(0); - wxStaticText* spiral_mode_txt = new wxStaticText(this, wxID_ANY, _L("Spiral vase")); - spiral_mode_txt->SetFont(Label::Body_14); - top_sizer->Add(spiral_mode_txt, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxALL, FromDIP(5)); - top_sizer->Add(m_spiral_mode_choice, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxALL, FromDIP(5)); + // hidden + //m_spiral_mode_choice = new ComboBox(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(FromDIP(240), -1), 0, NULL, wxCB_READONLY); + //m_spiral_mode_choice->Append(_L("Same as Global")); + //m_spiral_mode_choice->Append(_L("Enable")); + //m_spiral_mode_choice->Append(_L("Disable")); + //m_spiral_mode_choice->SetSelection(0); + //wxStaticText* spiral_mode_txt = new wxStaticText(this, wxID_ANY, _L("Spiral vase")); + //spiral_mode_txt->SetFont(Label::Body_14); + //top_sizer->Add(spiral_mode_txt, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxALL, FromDIP(5)); + //top_sizer->Add(m_spiral_mode_choice, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxALL, FromDIP(5)); m_sizer_main->Add(top_sizer, 0, wxEXPAND | wxALL, FromDIP(30)); diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index bfe88afcb..6385ea03e 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2477,7 +2477,7 @@ void TabPrintModel::update_custom_dirty() } //BBS: GUI refactor -static const std::vector plate_keys = { "curr_bed_type", "first_layer_print_sequence", "first_layer_sequence_choice", "print_sequence", "spiral_mode"}; +static const std::vector plate_keys = { "curr_bed_type", "first_layer_print_sequence", "first_layer_sequence_choice", "print_sequence"/*, "spiral_mode"*/}; TabPrintPlate::TabPrintPlate(ParamsPanel* parent) : TabPrintModel(parent, plate_keys) { @@ -2505,7 +2505,8 @@ void TabPrintPlate::build() optgroup->append_single_option_line("curr_bed_type"); optgroup->append_single_option_line("print_sequence"); optgroup->append_single_option_line("first_layer_sequence_choice"); - optgroup->append_single_option_line("spiral_mode"); + // hidden + //optgroup->append_single_option_line("spiral_mode"); for (auto& line : const_cast&>(optgroup->get_lines())) { line.undo_to_sys = true; }