mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Check for definition_id, not variant name
Since the dict is supposed to be per definition Contributes to CURA-342
This commit is contained in:
parent
343280103f
commit
8badb061da
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
|
|||
|
||||
variant = container.getMetaDataEntry("variant")
|
||||
if variant:
|
||||
if variant not in machine_nozzle_map:
|
||||
if definition_id not in machine_nozzle_map:
|
||||
machine_nozzle_map[definition_id] = []
|
||||
machine_nozzle_map[definition_id].append(container)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue