Fix returning resulting metadata

Forgot to change that back.

Contributes to issue CURA-4243.
This commit is contained in:
Ghostkeeper 2017-11-21 11:05:11 +01:00
parent c4debbea8b
commit 0831451371
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -795,7 +795,8 @@ class XmlMaterialProfile(InstanceContainer):
result_metadata.append(new_hotend_material_metadata) result_metadata.append(new_hotend_material_metadata)
for metadata in result_metadata: for metadata in result_metadata:
#ContainerRegistry.getInstance().metadata[metadata["id"]] = metadata result_metadata.append(metadata)
return result_metadata
## Override of getIdsFromFile because the XML files contain multiple IDs. ## Override of getIdsFromFile because the XML files contain multiple IDs.
@classmethod @classmethod