mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
WIP: Add temporary fix to make materials work with 2.7 version upgrade
CURA-3975 This is a temporary fix to make materials work with 2.7 version upgrade because of the setting_version change from 1 to 2. This MUST be fixed after we have decided on how to determine the versions of an XMLMaterialProfile.
This commit is contained in:
parent
5bf080950f
commit
b4949a164c
3 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,8 @@ def getMetaData():
|
|||
},
|
||||
"version_upgrade": {
|
||||
("materials", 1000000): ("materials", 1000001, upgrader.upgradeMaterial),
|
||||
# FIXME: This needs to be changed once we have decided on how to determine the versions
|
||||
("materials", 1000001): ("materials", 1000002, upgrader.upgradeMaterial),
|
||||
},
|
||||
"sources": {
|
||||
"materials": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue