diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2018-08-08 13:52:02 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2018-08-08 13:52:02 +0300 |
commit | 1764f3b57b49e6c9c4c0a0c86bacf9befe3839d2 (patch) | |
tree | c68e5774ac1cf864e5469d57d40ba78668140312 | |
parent | ad92aa74865fcaf522f936b5962988753b7bdac3 (diff) | |
parent | 93b8f3147c174e2b024f9162581ef18cb56b3b82 (diff) |
Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d
-rw-r--r-- | xs/src/libslic3r/GCodeTimeEstimator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/src/libslic3r/GCodeTimeEstimator.cpp b/xs/src/libslic3r/GCodeTimeEstimator.cpp index b51692fc6..c4ffb572a 100644 --- a/xs/src/libslic3r/GCodeTimeEstimator.cpp +++ b/xs/src/libslic3r/GCodeTimeEstimator.cpp @@ -721,6 +721,8 @@ namespace Slic3r { } _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) |