Fix legacy profile upgrade

CURA-4075

Only for single-extrusion machines just like before.
This commit is contained in:
Lipu Fei 2017-12-01 11:05:15 +01:00
parent ea7ff05a3d
commit 7b4cb11240
2 changed files with 21 additions and 6 deletions

View file

@ -98,7 +98,7 @@ class Profile:
config.add_section("metadata")
config.set("metadata", "quality_type", "normal") #This feature doesn't exist in 2.1 yet, so we don't know the actual quality type. For now, always base it on normal.
config.set("metadata", "type", "quality_changes")
config.set("metadata", "type", "quality")
if self._weight:
config.set("metadata", "weight", str(self._weight))
if self._machine_variant_name: