mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
CURA-5444 Also get the metadata even if the material was marked as not
compatible.
This commit is contained in:
parent
2a3eed30ab
commit
e5699918ea
1 changed files with 14 additions and 13 deletions
|
@ -872,7 +872,8 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
|
||||
machine_manufacturer = identifier.get("manufacturer", definition_metadata.get("manufacturer", "Unknown")) #If the XML material doesn't specify a manufacturer, use the one in the actual printer definition.
|
||||
|
||||
if machine_compatibility:
|
||||
# Always create the instance of the material even if it is not compatible, otherwise it will never
|
||||
# show as incompatible if the material profile doesn't define hotends in the machine - CURA-5444
|
||||
new_material_id = container_id + "_" + machine_id
|
||||
|
||||
# Do not look for existing container/container metadata with the same ID although they may exist.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue