Ruler for DoubleSlider: Added estimated print time

This commit is contained in:
YuSanka 2020-11-16 22:48:13 +01:00 committed by Oleksandra Yushchenko
parent cb844a4034
commit feffb66085
5 changed files with 19 additions and 7 deletions

View file

@ -999,6 +999,7 @@ void Preview::update_layers_slider(const std::vector<double>& layers_z, bool kee
}
m_layers_slider->SetSelectionSpan(idx_low, idx_high);
m_layers_slider->SetTicksValues(ticks_info_from_model);
m_layers_slider->SetLayersTimes(m_gcode_result->time_statistics.modes[0].layers_times);
bool sla_print_technology = wxGetApp().plater()->printer_technology() == ptSLA;
bool sequential_print = wxGetApp().preset_bundle->prints.get_edited_preset().config.opt_bool("complete_objects");