mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Basic upgrade module from 3.2 to 3.3 implementation
'Basic' meaning no implementation at all. Contributes to issue CURA-5054.
This commit is contained in:
parent
970f1da810
commit
60de2aff65
3 changed files with 49 additions and 0 deletions
23
plugins/VersionUpgrade/VersionUpgrade32to33/__init__.py
Normal file
23
plugins/VersionUpgrade/VersionUpgrade32to33/__init__.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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", 2000004): ("quality", 3000004, upgrade.upgradeQuality),
|
||||
},
|
||||
"sources": {
|
||||
"quality": {
|
||||
"get_version": upgrade.getCfgVersion,
|
||||
"location": {"./quality"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return { "version_upgrade": upgrade }
|
Loading…
Add table
Add a link
Reference in a new issue