Set quality to normal, not quality type

Even though this key says it's quality, it's not a quality profile, it's a quality type.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-09-08 17:10:06 +02:00
parent 761aeb1aa2
commit 93cd5acbad
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -94,7 +94,7 @@ class Profile:
config.set("general", "definition", "fdmprinter") #In this case, the machine definition is unknown, and it might now have machine-specific profiles, in which case this will fail.
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", "quality", "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")
if self._weight:
config.set("metadata", "weight", str(self._weight))