mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-31 10:35:31 +08:00
Fix case where a global profile would be recognised as a extruder profile
CURA-6991
This commit is contained in:
parent
95cffb6710
commit
cd7f0e8a76
@ -140,7 +140,7 @@ class MachineNode(ContainerNode):
|
||||
elif groups_by_name[name].intent_category == "default": # Intent category should be stored as "default" if everything is default or as the intent if any of the extruder have an actual intent.
|
||||
groups_by_name[name].intent_category = quality_changes.get("intent_category", "default")
|
||||
|
||||
if quality_changes.get("position") is not None: # An extruder profile.
|
||||
if quality_changes.get("position") is not None and quality_changes.get("position") != "None": # An extruder profile.
|
||||
groups_by_name[name].metadata_per_extruder[int(quality_changes["position"])] = quality_changes
|
||||
else: # Global profile.
|
||||
groups_by_name[name].metadata_for_global = quality_changes
|
||||
|
Loading…
x
Reference in New Issue
Block a user