mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Extruder manager now uses right definition for material selection
This commit is contained in:
parent
aadc45c780
commit
dbea06689f
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class ExtruderManager(QObject):
|
|||
if preferred_material_id:
|
||||
search_criteria = { "type": "material", "id": preferred_material_id}
|
||||
if machine_definition.getMetaDataEntry("has_machine_materials"):
|
||||
search_criteria["definition"] = machine_definition.id
|
||||
search_criteria["definition"] = machine_definition_id
|
||||
|
||||
if machine_definition.getMetaDataEntry("has_variants") and variant:
|
||||
search_criteria["variant"] = variant.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue