Don't serialize the name of the metadata

It's being serialized in a different place.

Contributes to issue CURA-4243.
This commit is contained in:
Ghostkeeper 2017-12-04 10:55:30 +01:00
parent 083a4a8024
commit bc28189ff5
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -131,6 +131,7 @@ class XmlMaterialProfile(InstanceContainer):
metadata.pop("approximate_diameter", "")
metadata.pop("id", "")
metadata.pop("container_type", "")
metadata.pop("name", "")
## Begin Name Block
builder.start("name")