mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Re-enable changing of multi-extrusion machines to single extrusion
CURA-4359
This commit is contained in:
parent
61e65d5cb0
commit
6d687d6f06
1 changed files with 1 additions and 7 deletions
|
@ -112,13 +112,7 @@ class MachineSettingsAction(MachineAction):
|
|||
if not self._global_container_stack:
|
||||
return 0
|
||||
|
||||
# If there is a printer that originally is multi-extruder, it's not allowed to change the number of extruders
|
||||
# It's just allowed in case of Custom FDM printers
|
||||
definition_container = self._global_container_stack.getBottom()
|
||||
if definition_container.getId() == "custom":
|
||||
return len(self._global_container_stack.getMetaDataEntry("machine_extruder_trains"))
|
||||
return 0
|
||||
|
||||
return len(self._global_container_stack.getMetaDataEntry("machine_extruder_trains"))
|
||||
|
||||
@pyqtSlot(int)
|
||||
def setMachineExtruderCount(self, extruder_count):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue