mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Use correct material profile in extruder stack
The material profile is more specific inside a material profile if the machine has material quality profiles. Contributes to issue CURA-844.
This commit is contained in:
parent
4d13622a6e
commit
a0df0c76de
2 changed files with 5 additions and 4 deletions
|
@ -146,7 +146,6 @@ class Profile:
|
|||
config_copy.read_dict(config) #Copy the config to a new ConfigParser instance.
|
||||
variant_id_new_materials = VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.translateVariantForMaterials(variant_id, translated_machine)
|
||||
config_copy.set("metadata", "material", "{material}_{variant}".format(material = material_id, variant = variant_id_new_materials))
|
||||
config_copy.set("general", "name", self._name + " " + material_id + " " + variant_id) #DEBUG
|
||||
configs.append(config_copy)
|
||||
else:
|
||||
configs.append(config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue