mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 04:23:15 +08:00
Upgrade g-code flavour Volumatric to Volumetric
Contributes to issue CURA-3998.
This commit is contained in:
parent
74feabacd0
commit
89cd11e62a
@ -104,6 +104,11 @@ class VersionUpgrade26to27(VersionUpgrade):
|
||||
parser["metadata"] = {}
|
||||
parser["metadata"]["setting_version"] = "2"
|
||||
|
||||
#Renamed setting value for g-code flavour.
|
||||
if "values" in parser and "machine_gcode_flavor" in parser["values"]:
|
||||
if parser["values"]["machine_gcode_flavor"] == "RepRap (Volumatric)":
|
||||
parser["values"]["machine_gcode_flavor"] = "RepRap (Volumetric)"
|
||||
|
||||
# Re-serialise the file.
|
||||
output = io.StringIO()
|
||||
parser.write(output)
|
||||
|
Loading…
x
Reference in New Issue
Block a user