mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Implement upgrade for quality changes extruder metadata
The metadata used to be the ID of the extruder. Now it's the position of the extruder stack. Contributes to issue CURA-5054.
This commit is contained in:
parent
e30d15ab66
commit
fb814b6519
2 changed files with 71 additions and 6 deletions
|
@ -8,11 +8,11 @@ upgrade = VersionUpgrade32to33.VersionUpgrade32to33()
|
|||
def getMetaData():
|
||||
return {
|
||||
"version_upgrade": {
|
||||
# From To Upgrade function
|
||||
("quality", 2000004): ("quality", 3000004, upgrade.upgradeQuality),
|
||||
# From To Upgrade function
|
||||
("quality_changes", 2000004): ("quality", 3000004, upgrade.upgradeQualityChanges),
|
||||
},
|
||||
"sources": {
|
||||
"quality": {
|
||||
"quality_changes": {
|
||||
"get_version": upgrade.getCfgVersion,
|
||||
"location": {"./quality"}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue