mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Fix intent profile selection
CURA-6810
This commit is contained in:
parent
ad7b58e460
commit
c030328b7f
2 changed files with 6 additions and 2 deletions
|
@ -1322,6 +1322,10 @@ class MachineManager(QObject):
|
||||||
# It's also possible that the qualityChanges has an opinion about the intent_category.
|
# It's also possible that the qualityChanges has an opinion about the intent_category.
|
||||||
# This is in the case that a QC was made on an intent, but none of the materials have that intent.
|
# This is in the case that a QC was made on an intent, but none of the materials have that intent.
|
||||||
# If the user switches back, we do want the intent to be selected again.
|
# If the user switches back, we do want the intent to be selected again.
|
||||||
|
#
|
||||||
|
# Do not ask empty quality changes for intent category.
|
||||||
|
if extruder.qualityChanges.getId() == empty_quality_changes_container.getId():
|
||||||
|
continue
|
||||||
current_category = extruder.qualityChanges.getMetaDataEntry("intent_category", "default")
|
current_category = extruder.qualityChanges.getMetaDataEntry("intent_category", "default")
|
||||||
if current_category != "default" and current_category != category:
|
if current_category != "default" and current_category != category:
|
||||||
category = current_category
|
category = current_category
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue