mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 08:15:58 +08:00
Store current temp in bed_temperature instead of dict with target & current
CURA-1036
This commit is contained in:
parent
61565561ff
commit
99a30573ce
@ -103,7 +103,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
temperature = self._json_printer_state["heads"][0]["extruders"][index]["hotend"]["temperature"]["current"]
|
temperature = self._json_printer_state["heads"][0]["extruders"][index]["hotend"]["temperature"]["current"]
|
||||||
self._setHotendTemperature(index, temperature)
|
self._setHotendTemperature(index, temperature)
|
||||||
|
|
||||||
bed_temperature = self._json_printer_state["bed"]["temperature"]
|
bed_temperature = self._json_printer_state["bed"]["temperature"]["current"]
|
||||||
self._setBedTemperature(bed_temperature)
|
self._setBedTemperature(bed_temperature)
|
||||||
|
|
||||||
head_x = self._json_printer_state["heads"][0]["position"]["x"]
|
head_x = self._json_printer_state["heads"][0]["position"]["x"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user