mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Remove 'None' default for quality_type
It has no semantic meaning to specify that here. The behaviour of this commit should be the same since 'None' is the default value for that parameter. Contributes to issue CURA-4966.
This commit is contained in:
parent
02c78faabc
commit
b5d1e5be36
1 changed files with 1 additions and 1 deletions
|
@ -947,7 +947,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
for extruder_stack in extruder_stacks_in_use:
|
||||
|
||||
# If the quality is different in the stacks, then the quality in the global stack is trusted
|
||||
if extruder_stack.quality.getMetaDataEntry("quality_type", None) != global_stack.quality.getMetaDataEntry("quality_type", None):
|
||||
if extruder_stack.quality.getMetaDataEntry("quality_type") != global_stack.quality.getMetaDataEntry("quality_type"):
|
||||
search_criteria = {"id": global_stack.quality.getId(),
|
||||
"type": "quality",
|
||||
"definition": definition_id}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue