probe: Allow restarting an incomplete probe set

Signed-off-by: Romain “Artefact2” Dal Maso <artefact2@gmail.com>
This commit is contained in:
Romain “Artefact2” Dal Maso authored and Kevin O'Connor committed 2018-08-24 13:20:55 -04:00
1 parent b065f51454
commit 11e9bb286e
1 file changed
+3
+3
View File
@@ -184,6 +184,9 @@ class ProbePointsHelper:
# Begin probing
self.toolhead = self.printer.lookup_object('toolhead')
self.gcode = self.printer.lookup_object('gcode')
# Unregister NEXT command in case we are starting over from an
# unfinalized calibration
self.gcode.register_command('NEXT', None)
self.gcode.register_command(
'NEXT', self.cmd_NEXT, desc=self.cmd_NEXT_help)
self.results = []