mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
PrinterOutputModel now has different extruders if it has more than one.
It used to just fill the list with references to the first one created. CL-541
This commit is contained in:
parent
d8b12be5e4
commit
34e808d585
2 changed files with 2 additions and 3 deletions
|
@ -29,8 +29,7 @@ class PrinterOutputModel(QObject):
|
|||
self._name = ""
|
||||
self._key = "" # Unique identifier
|
||||
self._controller = output_controller
|
||||
self._extruders = [ExtruderOutputModel(printer=self)] * number_of_extruders
|
||||
|
||||
self._extruders = [ExtruderOutputModel(printer=self) for i in range(number_of_extruders)]
|
||||
self._head_position = Vector(0, 0, 0)
|
||||
self._active_print_job = None # type: Optional[PrintJobOutputModel]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue