mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00

The metadata used to be the ID of the extruder. Now it's the position of the extruder stack. Contributes to issue CURA-5054.
23 lines
No EOL
676 B
Python
23 lines
No EOL
676 B
Python
# Copyright (c) 2018 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
from . import VersionUpgrade32to33
|
|
|
|
upgrade = VersionUpgrade32to33.VersionUpgrade32to33()
|
|
|
|
def getMetaData():
|
|
return {
|
|
"version_upgrade": {
|
|
# From To Upgrade function
|
|
("quality_changes", 2000004): ("quality", 3000004, upgrade.upgradeQualityChanges),
|
|
},
|
|
"sources": {
|
|
"quality_changes": {
|
|
"get_version": upgrade.getCfgVersion,
|
|
"location": {"./quality"}
|
|
}
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "version_upgrade": upgrade } |