Fixed inccorect (excessive) time estimates with the MMU 2.0

This commit is contained in:
bubnikv 2018-08-07 14:15:37 +02:00
parent 288cd58ee2
commit 93b8f3147c

View File

@ -721,6 +721,8 @@ namespace Slic3r {
} }
_last_st_synchronized_block_id = _blocks.size() - 1; _last_st_synchronized_block_id = _blocks.size() - 1;
// The additional time has been consumed (added to the total time), reset it to zero.
set_additional_time(0.);
} }
void GCodeTimeEstimator::_process_gcode_line(GCodeReader&, const GCodeReader::GCodeLine& line) void GCodeTimeEstimator::_process_gcode_line(GCodeReader&, const GCodeReader::GCodeLine& line)