mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Cleanup after mistakenly committing crap.
This commit is contained in:
parent
6a2c97e4ac
commit
2daf0b1683
1 changed files with 0 additions and 14 deletions
|
@ -93,20 +93,6 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
|
||||||
basefile = self.getMetaDataEntry("base_file", self._id) #if basefile is none, this is a basefile.
|
basefile = self.getMetaDataEntry("base_file", self._id) #if basefile is none, this is a basefile.
|
||||||
for container in UM.Settings.ContainerRegistry.getInstance().findInstanceContainers(base_file = basefile):
|
for container in UM.Settings.ContainerRegistry.getInstance().findInstanceContainers(base_file = basefile):
|
||||||
container._dirty = True
|
container._dirty = True
|
||||||
# Is never used???
|
|
||||||
# def setProperty(self, key, property_name, property_value, container = None):
|
|
||||||
# if self.isReadOnly():
|
|
||||||
# return
|
|
||||||
#
|
|
||||||
# super().setProperty(key, property_name, property_value)
|
|
||||||
#
|
|
||||||
# basefile = self.getMetaDataEntry("base_file", self._id) # if basefile is none, this is a basefile.
|
|
||||||
# # Update the basefile as well, this is actually what we're trying to do
|
|
||||||
# # Update all containers that share GUID and basefile
|
|
||||||
# containers = UM.Settings.ContainerRegistry.getInstance().findInstanceContainers(id=basefile) + UM.Settings.ContainerRegistry.getInstance().findInstanceContainers(
|
|
||||||
# GUID=self.getMetaDataEntry("GUID"), base_file=basefile)
|
|
||||||
# for container in containers:
|
|
||||||
# container.setDirty(True)
|
|
||||||
|
|
||||||
## Overridden from InstanceContainer
|
## Overridden from InstanceContainer
|
||||||
def serialize(self):
|
def serialize(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue