mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:29:00 +08:00
Oops
This commit is contained in:
parent
6b04c736e9
commit
d6bd7cce9e
@ -382,7 +382,7 @@ class ExtruderManager(QObject):
|
|||||||
# "fdmextruder". We need to check a machine here so its extruder definition is correct according to this.
|
# "fdmextruder". We need to check a machine here so its extruder definition is correct according to this.
|
||||||
def fixSingleExtrusionMachineExtruderDefinition(self, global_stack: "GlobalStack") -> None:
|
def fixSingleExtrusionMachineExtruderDefinition(self, global_stack: "GlobalStack") -> None:
|
||||||
container_registry = ContainerRegistry.getInstance()
|
container_registry = ContainerRegistry.getInstance()
|
||||||
expected_extruder_stack = global_stack.getMetadataEntry("machine_extruder_trains")
|
expected_extruder_stack = global_stack.getMetaDataEntry("machine_extruder_trains")
|
||||||
if expected_extruder_stack is None:
|
if expected_extruder_stack is None:
|
||||||
return
|
return
|
||||||
expected_extruder_definition_0_id = expected_extruder_stack["0"]
|
expected_extruder_definition_0_id = expected_extruder_stack["0"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user