mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Code cleaning - removed unused state from DoubleSlider
This commit is contained in:
parent
322c0230c3
commit
c87feb9870
3 changed files with 16 additions and 27 deletions
|
@ -697,11 +697,7 @@ void Preview::update_double_slider(const std::vector<double>& layers_z, bool kee
|
|||
bool color_print_enable = (wxGetApp().plater()->printer_technology() == ptFFF);
|
||||
|
||||
m_slider->EnableTickManipulation(color_print_enable);
|
||||
if (color_print_enable && wxGetApp().extruders_edited_cnt() > 1) {
|
||||
m_slider->SetExtruderID(0);
|
||||
}
|
||||
else
|
||||
m_slider->SetExtruderID(-1);
|
||||
m_slider->SetManipulationState(wxGetApp().extruders_edited_cnt());
|
||||
}
|
||||
|
||||
void Preview::reset_double_slider()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue