From 98915fb1d030f15d6f88af32d81724d334330860 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 21 Jun 2019 11:04:55 -0400 Subject: [PATCH] probe: Always return just x,y,z from _probe() Signed-off-by: Kevin O'Connor --- klippy/extras/probe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/probe.py b/klippy/extras/probe.py index dc6c4779..fdf67ba9 100644 --- a/klippy/extras/probe.py +++ b/klippy/extras/probe.py @@ -75,7 +75,7 @@ class PrinterProbe: self.gcode.respond_info("probe at %.3f,%.3f is z=%.6f" % ( pos[0], pos[1], pos[2])) self.gcode.reset_last_position() - return pos + return pos[:3] def _move(self, coord, speed): toolhead = self.printer.lookup_object('toolhead') curpos = toolhead.get_position()