mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 20:57:49 -06:00
Always set quality type to normal
We don't know the actual quality type, the quality profile that this profile is based on. Maybe there isn't one, even. As a solution we always base imported custom quality profiles on normal. Contributes to issue CURA-844.
This commit is contained in:
parent
84e91e2bf2
commit
a4c47f26d6
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +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.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.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.
|
||||||
if self._type:
|
if self._type:
|
||||||
config.set("metadata", "type", self._type)
|
config.set("metadata", "type", self._type)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue