diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-28 12:33:02 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-28 12:33:02 +0300 |
commit | f09bba226db604c580f7f017998cfd4aa4433425 (patch) | |
tree | 0a2df7d5a0b0eaeeedcef89bb97f3fc4bebb6c7a /src/Movement | |
parent | 9744fbef6c10928a8fbf42d116ea56ced7b1af25 (diff) |
Bug fix: extruder endpoints were not updated
Diffstat (limited to 'src/Movement')
-rw-r--r-- | src/Movement/DDA.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Movement/DDA.cpp b/src/Movement/DDA.cpp index cf95272d..6c08ce0f 100644 --- a/src/Movement/DDA.cpp +++ b/src/Movement/DDA.cpp @@ -388,7 +388,7 @@ bool DDA::InitStandardMove(DDARing& ring, const RawMove &nextMove, bool doMotorM // It's an extruder drive. We defer calculating the steps because they may be affected by nonlinear extrusion, which we can't calculate until we // know the speed of the move, and because extruder movement is relative so we need to accumulate fractions of a whole step between moves. const float movement = nextMove.coords[drive]; - directionVector[drive] = movement; + endCoordinates[drive] = directionVector[drive] = movement; // for an extruder, endCoordinates is the amount of movement if (movement != 0.0) { extrudersMoving = true; |