diff options
author | Simon Edwards <s.edwards@ultimaker.com> | 2016-09-21 17:50:57 +0300 |
---|---|---|
committer | Simon Edwards <s.edwards@ultimaker.com> | 2016-09-21 17:51:30 +0300 |
commit | 46dd4f6093e393938a8a51679d3e4e2f466d5576 (patch) | |
tree | 422777c876a9d5df29b1c3d4fbdcac04c284173f /cura/QualityManager.py | |
parent | 51dee95c8f781854e79784f6f8b4c60aeb4ddc7a (diff) |
Fix for duplicating quality changes profiles on the UM2.
Contributes to CURA-2414 Quality changes profiles are created incorrectly
Diffstat (limited to 'cura/QualityManager.py')
-rw-r--r-- | cura/QualityManager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/QualityManager.py b/cura/QualityManager.py index 9d7eac8a05..1ef79f2b86 100644 --- a/cura/QualityManager.py +++ b/cura/QualityManager.py @@ -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()
|