diff options
author | Ghostkeeper <rubend@tutanota.com> | 2016-09-15 13:47:31 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2016-09-15 13:47:39 +0300 |
commit | ef3b6905b7412809ad7af348ba40db7bfa9a4d55 (patch) | |
tree | 5a2e87c2c39c16cb42c99930f5ef1114ae7cfe98 /plugins/VersionUpgrade/VersionUpgrade21to22 | |
parent | c223044541cac81ff4176635528bbeab70507587 (diff) |
Translate skin overlap properly
From this dict it also gets updated in other places, such as the preferences.
Contributes to issue CURA-844.
Diffstat (limited to 'plugins/VersionUpgrade/VersionUpgrade21to22')
-rw-r--r-- | plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py b/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py index 2c1289e3f5..2b5fc1f7ee 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py @@ -130,6 +130,7 @@ _setting_name_translations = { "remove_overlapping_walls_enabled": "travel_compensate_overlapping_walls_enabled", "remove_overlapping_walls_x_enabled": "travel_compensate_overlapping_walls_x_enabled", "retraction_hop": "retraction_hop_enabled", + "skin_overlap": "infill_overlap", "skirt_line_width": "skirt_brim_line_width", "skirt_minimal_length": "skirt_brim_minimal_length", "skirt_speed": "skirt_brim_speed", @@ -401,8 +402,6 @@ class VersionUpgrade21to22(VersionUpgrade): new_settings[_setting_name_translations[key]] = value continue new_settings[key] = value - if "infill_overlap" in settings: # New setting, added in 2.3 - new_settings["skin_overlap"] = settings["infill_overlap"] return new_settings ## Translates a setting name for the change from Cura 2.1 to 2.2. |