mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
Fix crash when syncing with configuration that has no printcores active
CURA-6826
This commit is contained in:
parent
44cb810c85
commit
ec4817db87
1 changed files with 2 additions and 0 deletions
|
@ -1434,6 +1434,8 @@ class MachineManager(QObject):
|
|||
else:
|
||||
machine_node = ContainerTree.getInstance().machines.get(self._global_container_stack.definition.getId())
|
||||
variant_node = machine_node.variants.get(extruder_configuration.hotendID)
|
||||
if variant_node is None:
|
||||
continue
|
||||
self._setVariantNode(position, variant_node)
|
||||
|
||||
# Find the material profile that the printer has stored.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue