mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix issue caused by making metadata of containerNode private
This commit is contained in:
parent
8a6c4a9fb6
commit
d9e23bf02b
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ class XmlMaterialProfile(InstanceContainer):
|
||||||
# Find all hotend sub-profiles corresponding to this material and machine and add them to this profile.
|
# Find all hotend sub-profiles corresponding to this material and machine and add them to this profile.
|
||||||
buildplate_dict = {} # type: Dict[str, Any]
|
buildplate_dict = {} # type: Dict[str, Any]
|
||||||
for variant_name, variant_dict in machine_variant_map[definition_id].items():
|
for variant_name, variant_dict in machine_variant_map[definition_id].items():
|
||||||
variant_type = variant_dict["variant_node"].metadata["hardware_type"]
|
variant_type = variant_dict["variant_node"].getMetaDataEntry("hardware_type", "")
|
||||||
variant_type = VariantType(variant_type)
|
variant_type = VariantType(variant_type)
|
||||||
if variant_type == VariantType.NOZZLE:
|
if variant_type == VariantType.NOZZLE:
|
||||||
# The hotend identifier is not the containers name, but its "name".
|
# The hotend identifier is not the containers name, but its "name".
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue