Translate material, variant and profile along

They might not exist any more because the relation of profiles to printers changed from 2.1 to 2.2 for some machines (notably the UM2+ variants). But then it'll just make it empty when loading.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-07-01 15:37:12 +02:00
parent fbffff4c8d
commit 28cc1e8cf7

View file

@ -68,9 +68,9 @@ class MachineInstance:
containers = [ containers = [
self._name + "_current_settings", self._name + "_current_settings",
"empty", #The dependencies of the active profile, material and variant changed, so there is no 1:1 relation possible here. self._active_profile_name,
"empty", self._active_material_name,
"empty", self._variant_name,
self._type_name self._type_name
] ]
config.set("general", "containers", ",".join(containers)) config.set("general", "containers", ",".join(containers))