probe: Always return just x,y,z from _probe()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
3e741a1f88
commit
98915fb1d0
|
@ -75,7 +75,7 @@ class PrinterProbe:
|
||||||
self.gcode.respond_info("probe at %.3f,%.3f is z=%.6f" % (
|
self.gcode.respond_info("probe at %.3f,%.3f is z=%.6f" % (
|
||||||
pos[0], pos[1], pos[2]))
|
pos[0], pos[1], pos[2]))
|
||||||
self.gcode.reset_last_position()
|
self.gcode.reset_last_position()
|
||||||
return pos
|
return pos[:3]
|
||||||
def _move(self, coord, speed):
|
def _move(self, coord, speed):
|
||||||
toolhead = self.printer.lookup_object('toolhead')
|
toolhead = self.printer.lookup_object('toolhead')
|
||||||
curpos = toolhead.get_position()
|
curpos = toolhead.get_position()
|
||||||
|
|
Loading…
Reference in New Issue