Browse Source

XML profile now returns serialization data even if it's read only

This way exporting read only profiles is possible again.

CURA-2359
Jaime van Kessel 8 years ago
parent
commit
b707c8d806
1 changed files with 0 additions and 3 deletions
  1. 0 3
      plugins/XmlMaterialProfile/XmlMaterialProfile.py

+ 0 - 3
plugins/XmlMaterialProfile/XmlMaterialProfile.py

@@ -85,9 +85,6 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
     # base file: global settings + supported machines
     # machine / variant combination: only changes for itself.
     def serialize(self):
-        if self._read_only:
-            return
-
         registry = UM.Settings.ContainerRegistry.getInstance()
 
         base_file = self.getMetaDataEntry("base_file", "")