From 4aec316b4827bfded9a51b5c7f476949a864c50d Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 25 Apr 2018 13:01:49 +0200 Subject: [PATCH] Prevent homing twice on printers that don't support X/Y specialisation If the X Y is ignored and it just executes G28, it still executes it only once now. --- cura/PrinterOutput/GenericOutputController.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cura/PrinterOutput/GenericOutputController.py b/cura/PrinterOutput/GenericOutputController.py index bfa3cfbc82..dd1448a329 100644 --- a/cura/PrinterOutput/GenericOutputController.py +++ b/cura/PrinterOutput/GenericOutputController.py @@ -58,8 +58,7 @@ class GenericOutputController(PrinterOutputController): self._output_device.sendCommand("G90") def homeHead(self, printer): - self._output_device.sendCommand("G28 X") - self._output_device.sendCommand("G28 Y") + self._output_device.sendCommand("G28 X Y") def homeBed(self, printer): self._output_device.sendCommand("G28 Z")