mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Get abstract color property from metadata not from properties
Otherwise all the abstract profiles are visible CURA-10953
This commit is contained in:
parent
40602591d8
commit
fbefe42db3
1 changed files with 1 additions and 1 deletions
|
@ -911,7 +911,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
base_metadata["definition"] = "fdmprinter"
|
||||
|
||||
# Certain materials are loaded but should not be visible / selectable to the user.
|
||||
base_metadata["visible"] = not property_values.get("abstract_color", False)
|
||||
base_metadata["visible"] = not base_metadata.get("abstract_color", False)
|
||||
|
||||
compatible_entries = data.iterfind("./um:settings/um:setting[@key='hardware compatible']", cls.__namespaces)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue