mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 07:09:02 +08:00
Delete removed settings from profiles when upgrading
Part of CURA-7199
This commit is contained in:
parent
8af4e0d05a
commit
d31c7407ee
@ -91,6 +91,9 @@ class VersionUpgrade462to47(VersionUpgrade):
|
||||
correction = " + skin_line_width * (1.0 - ironing_flow / 100) / 2"
|
||||
ironing_inset = "=(" + ironing_inset + ")" + correction
|
||||
parser["values"]["ironing_inset"] = ironing_inset
|
||||
|
||||
for removed in set(parser["values"].keys()).intersection(_removed_settings):
|
||||
del parser["values"][removed]
|
||||
|
||||
# Check renamed definitions
|
||||
if "definition" in parser["general"] and parser["general"]["definition"] in _RENAMED_DEFINITION_DICT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user