From 2caa10f15e6e247e61c860937913606f372fc5fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 9 May 2017 09:29:52 +0200 Subject: [PATCH] Don't send T with temperature set commands for shared nozzles Fixes #1907 --- src/octoprint/printer/standard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 53f4c9d3..b22c3cc5 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -331,7 +331,8 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): if heater.startswith("tool"): printer_profile = self._printerProfileManager.get_current_or_default() extruder_count = printer_profile["extruder"]["count"] - if extruder_count > 1: + shared_nozzle = printer_profile["extruder"]["sharedNozzle"] + if extruder_count > 1 and not shared_nozzle: toolNum = int(heater[len("tool"):]) self.commands("M104 T%d S%f" % (toolNum, value)) else: