mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Only load metadata when finding hotends belonging to material
We only need to have the hotend metadata. Contributes to issue CURA-4243.
This commit is contained in:
parent
def7b6994d
commit
3ee2e0488f
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
|
||||
# Same as machine compatibility, keep the derived material containers consistent with the parent
|
||||
# material
|
||||
found_materials = ContainerRegistry.getInstance().findInstanceContainers(id = new_hotend_id)
|
||||
found_materials = ContainerRegistry.getInstance().findInstanceContainersMetadata(id = new_hotend_id)
|
||||
if found_materials:
|
||||
new_hotend_material_metadata = found_materials[0]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue