Merge branch 'main' into CURA-12138-Export_for_support_option

This commit is contained in:
HellAholic 2024-10-04 15:23:52 +02:00 committed by GitHub
commit 5d6d2f118a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
158 changed files with 7927 additions and 481 deletions

View file

@ -918,9 +918,6 @@ class XmlMaterialProfile(InstanceContainer):
base_metadata["properties"] = property_values
base_metadata["definition"] = "fdmprinter"
# Certain materials are loaded but should not be visible / selectable to the user.
base_metadata["visible"] = not base_metadata.get("abstract_color", False)
compatible_entries = data.iterfind("./um:settings/um:setting[@key='hardware compatible']", cls.__namespaces)
try:
common_compatibility = cls._parseCompatibleValue(next(compatible_entries).text) # type: ignore