aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/z_tilt.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-07-15 10:30:27 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-07-15 10:30:27 -0400
commit94dc8167c9de120744d54403d60f4baf88de3926 (patch)
tree55aea7b57ad0d4c84364adc055a66b69b0cb12e7 /klippy/extras/z_tilt.py
parent260d12af6d2b328eba4841b9e05769f9c35c5095 (diff)
downloadkutter-94dc8167c9de120744d54403d60f4baf88de3926.tar.gz
kutter-94dc8167c9de120744d54403d60f4baf88de3926.tar.xz
kutter-94dc8167c9de120744d54403d60f4baf88de3926.zip
z_tilt: Don't default "points" parameter to "z_positions" parameter
It's rare to have all the Z stepper locations directly under the printable surface, so using z_positions for points is not a good default. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/z_tilt.py')
-rw-r--r--klippy/extras/z_tilt.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py
index 71d53831..98a1807b 100644
--- a/klippy/extras/z_tilt.py
+++ b/klippy/extras/z_tilt.py
@@ -18,8 +18,7 @@ class ZTilt:
except:
raise config.error("Unable to parse z_positions in %s" % (
config.get_name()))
- self.probe_helper = probe.ProbePointsHelper(
- config, self, default_points=self.z_positions)
+ self.probe_helper = probe.ProbePointsHelper(config, self)
self.z_steppers = []
# Register Z_TILT_ADJUST command
self.gcode = self.printer.lookup_object('gcode')