mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Fix renaming custom profile
CURA-6842
This commit is contained in:
parent
fba7a6ff33
commit
a93fd982dd
3 changed files with 24 additions and 4 deletions
|
@ -142,6 +142,7 @@ class MachineNode(ContainerNode):
|
|||
parent = CuraApplication.getInstance())
|
||||
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 "position" in quality_changes: # An extruder profile.
|
||||
groups_by_name[name].metadata_per_extruder[int(quality_changes["position"])] = quality_changes
|
||||
else: # Global profile.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue