diff --git a/src/octoprint/util/gcodeInterpreter.py b/src/octoprint/util/gcodeInterpreter.py index 72a45380..8f2a26b5 100644 --- a/src/octoprint/util/gcodeInterpreter.py +++ b/src/octoprint/util/gcodeInterpreter.py @@ -343,7 +343,8 @@ class gcode(object): # If move with extrusion, calculate new min/max coordinates of model if e > 0.0 and move: - # extrusion and move -> relevant for print area & dimensions + # extrusion and move -> oldPos & pos relevant for print area & dimensions + self._minMax.record(oldPos) self._minMax.record(pos) totalExtrusion[currentExtruder] += e