mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 19:57:51 -06:00
Fall back to different quality depending on stack
Falling back to normal.inst.cfg isn't enough. That profile may be filtered out by the machine, variant and material. We need to fall back to a different quality profile depending on the machine, variant and material. Contributes to issue CURA-844.
This commit is contained in:
parent
263105c3e7
commit
e35bc595b6
2 changed files with 68 additions and 1 deletions
|
@ -83,7 +83,7 @@ class MachineInstance:
|
|||
active_quality = VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateProfile(self._active_profile_name)
|
||||
active_quality_changes = "empty_quality_changes"
|
||||
else:
|
||||
active_quality = "normal"
|
||||
active_quality = VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.getQualityFallback(type_name, variant, active_material)
|
||||
if has_machine_qualities: #Then the profile will have split into multiple.
|
||||
active_quality_changes = self._active_profile_name + "_" + active_material + "_" + variant
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue