aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/stepper.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-07-07 16:08:00 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-07-10 22:49:01 -0400
commit5829aa8bd796358ce7880dbb6e9574589e62a927 (patch)
tree569aad12a37775e20c16d817f0ece1f69a37c829 /klippy/stepper.py
parent9bb1ae079fe54f7af3259eadaaff910df909629f (diff)
downloadkutter-5829aa8bd796358ce7880dbb6e9574589e62a927.tar.gz
kutter-5829aa8bd796358ce7880dbb6e9574589e62a927.tar.xz
kutter-5829aa8bd796358ce7880dbb6e9574589e62a927.zip
toolhead: Avoid using a dummy_move for an empty move_queue
Explicitly check for when the move_queue is empty and only call move.calc_junction() when there is a previous move. This avoids the need to create a dummy "sentinal" move object and it simplifies the code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/stepper.py')
0 files changed, 0 insertions, 0 deletions