diff options
author | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2017-09-21 17:28:50 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2017-09-21 17:28:50 +0300 |
commit | e73e218c4e68e9b8554125c300099af77b25e14b (patch) | |
tree | 8dec826c32905d26e4938c880724fe29f6e122b5 /cura/QualityManager.py | |
parent | c6e589e7d9b5bedaf95e8d74f6128b2498cf7c1d (diff) |
Detecting whether the profile is created for multiple extrusion printers or not - CURA-4327
Diffstat (limited to 'cura/QualityManager.py')
-rw-r--r-- | cura/QualityManager.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cura/QualityManager.py b/cura/QualityManager.py index 813d23ea13..c0b5afb71e 100644 --- a/cura/QualityManager.py +++ b/cura/QualityManager.py @@ -61,8 +61,6 @@ class QualityManager: machine_definition = global_stack.definition
result = self.findAllQualityChangesForMachine(machine_definition)
- for extruder in self.findAllExtruderDefinitionsForMachine(machine_definition):
- result.extend(self.findAllQualityChangesForExtruder(extruder))
result = [quality_change for quality_change in result if quality_change.getName() == quality_changes_name]
return result
@@ -151,7 +149,7 @@ class QualityManager: else:
definition_id = "fdmprinter"
- filter_dict = { "type": "quality_changes", "extruder": None, "definition": definition_id }
+ filter_dict = { "type": "quality_changes", "definition": definition_id }
quality_changes_list = ContainerRegistry.getInstance().findInstanceContainers(**filter_dict)
return quality_changes_list
|