mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Add translation for combing
Combing was made into an enum instead of a boolean. Contributes to issue CURA-844.
This commit is contained in:
parent
17f4703337
commit
f7be4831b8
2 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,8 @@ class MachineInstance:
|
|||
for key, value in self._machine_setting_overrides.items():
|
||||
if key == "speed_support_lines": #Setting key was changed for 2.2.
|
||||
key = "speed_support_infill"
|
||||
if key == "retraction_combing": #Combing was made into an enum instead of a boolean.
|
||||
value = "off" if (value == "False") else "all"
|
||||
config.set("machine_settings", key, str(value))
|
||||
|
||||
output = io.StringIO()
|
||||
|
|
|
@ -96,6 +96,8 @@ class Profile:
|
|||
for key, value in self._settings.items():
|
||||
if key == "speed_support_lines": #Setting key was changed for 2.2.
|
||||
key = "speed_support_infill"
|
||||
if key == "retraction_combing": #Combing was made into an enum instead of a boolean.
|
||||
value = "off" if (value == "False") else "all"
|
||||
config.set("settings", key, str(value))
|
||||
|
||||
if self._changed_settings_defaults:
|
||||
|
@ -103,6 +105,8 @@ class Profile:
|
|||
for key, value in self._changed_settings_defaults.items():
|
||||
if key == "speed_support_lines": #Setting key was changed for 2.2.
|
||||
key = "speed_support_infill"
|
||||
if key == "retraction_combing": #Combing was made into an enum instead of a boolean.
|
||||
value = "off" if (value == "False") else "all"
|
||||
config.set("defaults", key, str(value))
|
||||
|
||||
if self._disabled_settings_defaults:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue