Slightly faster time estimation

This commit is contained in:
Enrico Turri 2018-07-20 12:05:08 +02:00
parent c1d1721dae
commit 4b8e10a05c
3 changed files with 12 additions and 6 deletions

View file

@ -863,9 +863,9 @@ void GCode::_do_export(Print &print, FILE *file, GCodePreviewData *preview_data)
_write(file, m_writer.postamble());
// calculates estimated printing time
m_normal_time_estimator.calculate_time();
m_normal_time_estimator.calculate_time(false);
if (m_silent_time_estimator_enabled)
m_silent_time_estimator.calculate_time();
m_silent_time_estimator.calculate_time(false);
// Get filament stats.
print.filament_stats.clear();