mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Disabled renaming if type of material is changed by user
CURA-1968
This commit is contained in:
parent
3a921264fc
commit
3b9a642d02
1 changed files with 0 additions and 2 deletions
|
@ -56,8 +56,6 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
|
|||
|
||||
super().setMetaDataEntry(key, value)
|
||||
|
||||
if key == "material" or key == "color_name":
|
||||
self.setName(self._profile_name(self.getMetaDataEntry("material"), self.getMetaDataEntry("color_name")))
|
||||
basefile = self.getMetaDataEntry("base_file", self._id) #if basefile is none, this is a basefile.
|
||||
# Update all containers that share GUID and basefile
|
||||
for container in UM.Settings.ContainerRegistry.getInstance().findInstanceContainers(GUID = self.getMetaDataEntry("GUID"), base_file = basefile):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue