mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Make empty profile for current settings when upgrading from UM2+
This change causes the stack to make a new profile at the top to store current settings in. Contributes to issue CURA-844.
This commit is contained in:
parent
1e23141b18
commit
03c3b2ac2f
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class MachineInstance:
|
||||||
|
|
||||||
if has_machine_qualities: #This machine now has machine-quality profiles.
|
if has_machine_qualities: #This machine now has machine-quality profiles.
|
||||||
active_material += "_" + variant_materials #That means that the profile was split into multiple.
|
active_material += "_" + variant_materials #That means that the profile was split into multiple.
|
||||||
current_settings = "empty" #The profile didn't know the definition ID when it was upgraded, so it will have been invalid. Sorry, your current settings are lost now.
|
current_settings = "" #The profile didn't know the definition ID when it was upgraded, so it will have been invalid. Sorry, your current settings are lost now.
|
||||||
else:
|
else:
|
||||||
current_settings = self._name + "_current_settings"
|
current_settings = self._name + "_current_settings"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue