mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Reinitialise material and hotend lists to new number of extruders
CURA-491
This commit is contained in:
parent
051419577e
commit
5b686f0a50
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
self._hotend_temperatures = [0] * self._num_extruders
|
||||
self._target_hotend_temperatures = [0] * self._num_extruders
|
||||
|
||||
self._material_ids = [""] * self._num_extruders
|
||||
self._hotend_ids = [""] * self._num_extruders
|
||||
|
||||
self._api_version = "1"
|
||||
self._api_prefix = "/api/v" + self._api_version + "/"
|
||||
self.setName(key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue