mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06:00
Upgrade g-code flavour Volumatric to Volumetric
Contributes to issue CURA-3998.
This commit is contained in:
parent
74feabacd0
commit
89cd11e62a
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue