diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-08-05 11:43:45 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-08-20 21:03:22 -0400 |
commit | 4c5e93d51dca2393946a67646499fef5fdd034b0 (patch) | |
tree | 5450c95a3aa8fe5554dad97df2adf9b2b05c1a64 /klippy/homing.py | |
parent | cd7c1b8e68d8234524149c62e8ea2ad0bda07d2f (diff) | |
download | kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.tar.gz kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.tar.xz kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.zip |
gcode: Split G0/G1 command handling to new gcode_move class
Split up the main GCodeParser class into GCodeDispatch and GCodeMove
classes. The GCodeMove class is now available using the "gcode_move"
printer object name. This split simplifies the gcode.py code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/homing.py')
-rw-r--r-- | klippy/homing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/homing.py b/klippy/homing.py index 66af8aca..cc808cc1 100644 --- a/klippy/homing.py +++ b/klippy/homing.py @@ -15,8 +15,8 @@ class Homing: self.toolhead = printer.lookup_object('toolhead') self.changed_axes = [] self.verify_retract = True - def set_no_verify_retract(self): - self.verify_retract = False + if self.printer.get_start_args().get("debuginput"): + self.verify_retract = False def set_axes(self, axes): self.changed_axes = axes def get_axes(self): |