mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
XML profile now returns serialization data even if it's read only
This way exporting read only profiles is possible again. CURA-2359
This commit is contained in:
parent
d6e95d2734
commit
b707c8d806
1 changed files with 0 additions and 3 deletions
|
@ -85,9 +85,6 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
|
||||||
# base file: global settings + supported machines
|
# base file: global settings + supported machines
|
||||||
# machine / variant combination: only changes for itself.
|
# machine / variant combination: only changes for itself.
|
||||||
def serialize(self):
|
def serialize(self):
|
||||||
if self._read_only:
|
|
||||||
return
|
|
||||||
|
|
||||||
registry = UM.Settings.ContainerRegistry.getInstance()
|
registry = UM.Settings.ContainerRegistry.getInstance()
|
||||||
|
|
||||||
base_file = self.getMetaDataEntry("base_file", "")
|
base_file = self.getMetaDataEntry("base_file", "")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue