Add version upgrade plug-in for 4.0 to 4.1

This currently only updates the stack files, but all files have to be upgraded because of that stupid setting_version.

Contributes to issue CURA-5848.
This commit is contained in:
Ghostkeeper 2018-12-27 16:50:05 +01:00
parent 139ab2e0bb
commit 265a1b3fa0
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
5 changed files with 136 additions and 3 deletions

View file

@ -63,9 +63,9 @@ _RENAMED_MATERIAL_PROFILES = {
## Upgrades configurations from the state they were in at version 3.4 to the
# state they should be in at version 3.5.
class VersionUpgrade34to35(VersionUpgrade):
## Gets the version number from a CFG file in Uranium's 3.3 format.
## Gets the version number from a CFG file in Uranium's 3.4 format.
#
# Since the format may change, this is implemented for the 3.3 format only
# Since the format may change, this is implemented for the 3.4 format only
# and needs to be included in the version upgrade system rather than
# globally in Uranium.
#