From fe406f530c203e41939e875d9c1f84667c96638a Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 8 Aug 2017 13:51:40 +0200 Subject: [PATCH] Never fill None for quality changes profile We want it to be the empty profile instead. This gets passed on all the way to _replaceQualityOrQualityChangesInStack where the metadata is requested. Contributes to issue CURA-3301. --- cura/Settings/MachineManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 7fb9c3b0a2..0ea2c9f977 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -929,6 +929,8 @@ class MachineManager(QObject): quality_changes = quality_changes_list[0] else: quality_changes = global_quality_changes + if not quality_changes: + quality_changes = self._empty_quality_changes_container material = stack.material quality = quality_manager.findQualityByQualityType(quality_type, global_machine_definition, [material])