mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Translate Fan Speed Full At Layer to one-based counting
All layer counts should increment by 1. Contributes to issue CURA-2314.
This commit is contained in:
parent
628aa70e12
commit
d391639b48
1 changed files with 3 additions and 0 deletions
|
@ -398,6 +398,9 @@ class VersionUpgrade21to22(VersionUpgrade):
|
|||
if key == "retraction_combing": #Combing was made into an enum instead of a boolean.
|
||||
new_settings[key] = "off" if (value == "False") else "all"
|
||||
continue
|
||||
if key == "cool_fan_full_layer": #Layer counting was made one-indexed.
|
||||
new_settings[key] = str(int(value) + 1)
|
||||
continue
|
||||
if key in _setting_name_translations:
|
||||
new_settings[_setting_name_translations[key]] = value
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue