1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

Code cleaning - removed unused state from DoubleSlider

This commit is contained in:
YuSanka
2019-11-28 08:38:28 +01:00
parent 322c0230c3
commit c87feb9870
3 changed files with 16 additions and 27 deletions
+1 -5
View File
@@ -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()