mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix some more issues with the custom FF printer
This commit is contained in:
parent
e964035653
commit
6ff59bf5ab
1 changed files with 6 additions and 3 deletions
|
@ -1194,7 +1194,7 @@ class MachineManager(QObject):
|
|||
if empty_quality_changes:
|
||||
self._global_container_stack.extruderList[int(position)].qualityChanges = empty_quality_changes_container
|
||||
except IndexError:
|
||||
return
|
||||
continue # This can be ignored as in some cases the quality group gets set for an extruder that's not active (eg custom fff printer)
|
||||
|
||||
self.activeQualityGroupChanged.emit()
|
||||
self.activeQualityChangesGroupChanged.emit()
|
||||
|
@ -1231,7 +1231,7 @@ class MachineManager(QObject):
|
|||
self._global_container_stack.qualityChanges = quality_changes_container
|
||||
|
||||
for extruder in self._global_container_stack.extruderList:
|
||||
position = str(extruder.getMetaDataEntry("position", "0"))
|
||||
position = int(extruder.getMetaDataEntry("position", "0"))
|
||||
quality_changes_node = quality_changes_group.nodes_for_extruders.get(position)
|
||||
quality_node = None
|
||||
if quality_group is not None:
|
||||
|
@ -1343,7 +1343,10 @@ class MachineManager(QObject):
|
|||
buildplate_name = self._global_container_stack.variant.getName()
|
||||
|
||||
for position_item in position_list:
|
||||
try:
|
||||
extruder = self._global_container_stack.extruderList[int(position_item)]
|
||||
except IndexError:
|
||||
continue
|
||||
|
||||
current_material_base_name = extruder.material.getMetaDataEntry("base_file")
|
||||
current_nozzle_name = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue