mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix for duplicating quality changes profiles on the UM2.
Contributes to CURA-2414 Quality changes profiles are created incorrectly
This commit is contained in:
parent
51dee95c8f
commit
46dd4f6093
2 changed files with 10 additions and 17 deletions
|
|
@ -83,7 +83,7 @@ class QualityManager:
|
|||
filter_by_material = machine_definition.getMetaDataEntry("has_materials")
|
||||
|
||||
# Stick the material IDs in a set
|
||||
if material_containers is None:
|
||||
if material_containers is None or len(material_containers) == 0:
|
||||
filter_by_material = False
|
||||
else:
|
||||
material_ids = set()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue