mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 13:51:12 -07:00
Use machine def id as quality_definition fallback
CURA-6847
This commit is contained in:
parent
26b523f190
commit
027768f151
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
||||||
|
|
||||||
# Get the expected machine definition.
|
# Get the expected machine definition.
|
||||||
# i.e.: We expect gcode for a UM2 Extended to be defined as normal UM2 gcode...
|
# i.e.: We expect gcode for a UM2 Extended to be defined as normal UM2 gcode...
|
||||||
profile_definition = machine_definition.getMetaDataEntry("quality_definition", "")
|
profile_definition = machine_definition.getMetaDataEntry("quality_definition", machine_definition.getId())
|
||||||
expected_machine_definition = container_tree.machines[global_stack.definition.getId()].quality_definition
|
expected_machine_definition = container_tree.machines[global_stack.definition.getId()].quality_definition
|
||||||
|
|
||||||
# And check if the profile_definition matches either one (showing error if not):
|
# And check if the profile_definition matches either one (showing error if not):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue