diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-07-07 16:08:00 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-07-10 22:49:01 -0400 |
commit | 5829aa8bd796358ce7880dbb6e9574589e62a927 (patch) | |
tree | 569aad12a37775e20c16d817f0ece1f69a37c829 /klippy/klippy.py | |
parent | 9bb1ae079fe54f7af3259eadaaff910df909629f (diff) | |
download | kutter-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/klippy.py')
0 files changed, 0 insertions, 0 deletions