mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Use normal config only if not material(-specific) profile
Other profiles should just return an array with only their single profile. Contributes to issue CURA-844.
This commit is contained in:
parent
9a555fcab0
commit
71505a8b35
1 changed files with 3 additions and 0 deletions
|
@ -149,6 +149,9 @@ class Profile:
|
|||
config_copy = copy.copy(config)
|
||||
config_copy.set("metadata", "material", material_id)
|
||||
configs.append(config_copy)
|
||||
else:
|
||||
configs.append(config)
|
||||
filenames.append(self._filename)
|
||||
|
||||
outputs = []
|
||||
for config in configs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue