mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Add documentation
CURA-2138
This commit is contained in:
parent
27b3bd829d
commit
d3a0c0fa77
1 changed files with 3 additions and 0 deletions
|
@ -378,6 +378,9 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
|
||||||
UM.Settings.ContainerRegistry.getInstance().addContainer(new_hotend_material)
|
UM.Settings.ContainerRegistry.getInstance().addContainer(new_hotend_material)
|
||||||
|
|
||||||
if not global_compatibility:
|
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")
|
super().setMetaDataEntry("type", "incompatible_material")
|
||||||
|
|
||||||
def _addSettingElement(self, builder, instance):
|
def _addSettingElement(self, builder, instance):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue