mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 21:22:02 +08:00
DoubleSlider: Fixed a preview of estimated printer times
This commit is contained in:
parent
dbf81fc7fa
commit
c930af038b
@ -440,8 +440,7 @@ void Control::SetLayersTimes(const std::vector<double>& layers_times)
|
||||
{
|
||||
m_is_wipe_tower = false;
|
||||
m_layers_times = layers_times;
|
||||
for (size_t i = 1; i < m_layers_times.size(); i++)
|
||||
m_layers_times[i] += m_layers_times[i - 1];
|
||||
std::copy(layers_times.begin(), layers_times.end(), m_layers_times.begin());
|
||||
}
|
||||
|
||||
void Control::SetDrawMode(bool is_sla_print, bool is_sequential_print)
|
||||
|
Loading…
x
Reference in New Issue
Block a user