mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Add upgrade script for 3.0 to 3.1
CURA-4451 - Add upgrade script for 3.0. to 3.1 - Upgrade old stack files so they will use "empty_quality" as the "Not Supported" quality profile. - Increase SettingVersion to 4
This commit is contained in:
parent
fb88dd6326
commit
b6dd87081c
280 changed files with 482 additions and 277 deletions
|
@ -35,7 +35,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
# \return The corresponding setting_version.
|
||||
def xmlVersionToSettingVersion(self, xml_version: str) -> int:
|
||||
if xml_version == "1.3":
|
||||
return 3
|
||||
return 4
|
||||
return 0 #Older than 1.3.
|
||||
|
||||
def getInheritedFiles(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue