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:
Ghostkeeper 2016-08-09 15:06:50 +02:00
parent 9a555fcab0
commit 71505a8b35
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -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: