CURA-5188 If the auto_slice option was enabled in previous version,

keep it like this in the new version.
Since the default value of this preference changed, we don't want to
confuse users that still use the auto_slice option. Those users with
clean install or intalling Cura for the first time will have this
preference disabled.
This commit is contained in:
Diego Prado Gesto 2018-04-23 11:29:18 +02:00
parent d857541677
commit b85b39ff35
2 changed files with 34 additions and 0 deletions

View file

@ -9,6 +9,8 @@ def getMetaData():
return {
"version_upgrade": {
# From To Upgrade function
("preferences", 5000004): ("preferences", 6000004, upgrade.upgradePreferences),
("machine_stack", 3000004): ("machine_stack", 4000004, upgrade.upgradeStack),
("extruder_train", 3000004): ("extruder_train", 4000004, upgrade.upgradeStack),
@ -18,6 +20,10 @@ def getMetaData():
("variant", 2000004): ("variant", 3000004, upgrade.upgradeVariants)
},
"sources": {
"preferences": {
"get_version": upgrade.getCfgVersion,
"location": {"."}
},
"machine_stack": {
"get_version": upgrade.getCfgVersion,
"location": {"./machine_instances"}