Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipu Fei <lipu.fei815@gmail.com>2017-08-18 13:56:20 +0300
committerLipu Fei <lipu.fei815@gmail.com>2017-08-18 14:06:46 +0300
commit67cfb064e6d7d9ab2afdfedddfb672a99901bf5d (patch)
treec4e69516527b43930cc7cc9af605b4f2b189f44c /plugins/VersionUpgrade/VersionUpgrade26to27
parent9a00c07c3da042477eb7af3ce25473a814e4aa50 (diff)
Fix upgrading custom FDM printers from 2.5
CURA-4188 Custom FDM printers in 2.5 don't have multi-extrusion support but they do since 2.6. Upgrading from 2.5 to 2.6 will not create the missing extruder stacks for the old custom FDM printers, which causes a crash. This fix makes sure that all custom FDM printers will have 8 extruder stacks during the upgrade so that Cura can still start normally and those printers will still be usable.
Diffstat (limited to 'plugins/VersionUpgrade/VersionUpgrade26to27')
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade26to27/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade26to27/__init__.py b/plugins/VersionUpgrade/VersionUpgrade26to27/__init__.py
index f016914b93..27de4ad8c1 100644
--- a/plugins/VersionUpgrade/VersionUpgrade26to27/__init__.py
+++ b/plugins/VersionUpgrade/VersionUpgrade26to27/__init__.py
@@ -12,7 +12,7 @@ def getMetaData():
return {
"version_upgrade": {
# From To Upgrade function
- ("machine_stack", 3000000): ("machine_stack", 3000002, upgrade.upgradeStack),
+ ("machine_stack", 3000001): ("machine_stack", 3000002, upgrade.upgradeStack),
("extruder_train", 3000000): ("extruder_train", 3000002, upgrade.upgradeStack),
# In 2.6.x, Preferences are saved with "version = 4" and no setting_version.