mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Bumped up the Preference version to 7
reverted the SettingVersion to 16 CURA-8110_upgrader
This commit is contained in:
parent
4707560dcb
commit
72478994ec
3 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@ class CuraApplication(QtApplication):
|
||||||
# SettingVersion represents the set of settings available in the machine/extruder definitions.
|
# SettingVersion represents the set of settings available in the machine/extruder definitions.
|
||||||
# You need to make sure that this version number needs to be increased if there is any non-backwards-compatible
|
# You need to make sure that this version number needs to be increased if there is any non-backwards-compatible
|
||||||
# changes of the settings.
|
# changes of the settings.
|
||||||
SettingVersion = 17
|
SettingVersion = 16
|
||||||
|
|
||||||
Created = False
|
Created = False
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ class VersionUpgrade48to49(VersionUpgrade):
|
||||||
parser.read_string(serialized)
|
parser.read_string(serialized)
|
||||||
|
|
||||||
# Update version number.
|
# Update version number.
|
||||||
parser["metadata"]["setting_version"] = "17"
|
parser["general"]["version"] = "7"
|
||||||
|
|
||||||
# Update visibility settings to include new top_bottom category
|
# Update visibility settings to include new top_bottom category
|
||||||
parser["general"]["visible_settings"] += ";top_bottom"
|
parser["general"]["visible_settings"] += ";top_bottom"
|
||||||
|
|
|
@ -14,7 +14,7 @@ def getMetaData() -> Dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
"version_upgrade": {
|
"version_upgrade": {
|
||||||
# From To Upgrade function
|
# From To Upgrade function
|
||||||
("preferences", 6000016): ("preferences", 6000017, upgrade.upgradePreferences),
|
("preferences", 6000016): ("preferences", 7000016, upgrade.upgradePreferences),
|
||||||
("setting_visibility", 1000000): ("setting_visibility", 2000017, upgrade.upgradeSettingVisibility),
|
("setting_visibility", 1000000): ("setting_visibility", 2000017, upgrade.upgradeSettingVisibility),
|
||||||
},
|
},
|
||||||
"sources": {
|
"sources": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue