mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Add translation of speed_support_lines
This setting had its key changed to speed_support_infill Contributes to issue CURA-844.
This commit is contained in:
parent
242559bd7e
commit
00f356f06e
1 changed files with 4 additions and 1 deletions
|
@ -50,6 +50,8 @@ class MachineInstance:
|
|||
|
||||
## Serialises this machine instance as file format version 2.
|
||||
#
|
||||
# This is where the actual translation happens in this case.
|
||||
#
|
||||
# \return A serialised form of this machine instance, serialised in
|
||||
# version 2 of the file format.
|
||||
def exportVersion2():
|
||||
|
@ -70,7 +72,8 @@ class MachineInstance:
|
|||
|
||||
config.add_section("machine_settings")
|
||||
for key, value in self._machine_setting_overrides.items():
|
||||
#TODO: Filter these through a translation dictionary.
|
||||
if key == "speed_support_lines": #Setting key was changed for 2.2.
|
||||
key = "speed_support_infill"
|
||||
config.set("machine_settings", key, value)
|
||||
|
||||
output = io.StringIO()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue