mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 15:43:12 +08:00
Add documentation
CURA-2138
This commit is contained in:
parent
27b3bd829d
commit
d3a0c0fa77
@ -378,6 +378,9 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
|
||||
UM.Settings.ContainerRegistry.getInstance().addContainer(new_hotend_material)
|
||||
|
||||
if not global_compatibility:
|
||||
# Change the type of this container so it is not shown as an option in menus.
|
||||
# This uses InstanceContainer.setMetaDataEntry because otherwise all containers that
|
||||
# share this basefile are also updated.
|
||||
super().setMetaDataEntry("type", "incompatible_material")
|
||||
|
||||
def _addSettingElement(self, builder, instance):
|
||||
|
Loading…
x
Reference in New Issue
Block a user