mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:15:55 +08:00
Upgrade globals as well.
part of CURA-6802
This commit is contained in:
parent
94e89ad4ac
commit
78effbb191
@ -356,6 +356,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||||||
# To simplify this, only check if the global stack exists or not
|
# To simplify this, only check if the global stack exists or not
|
||||||
global_stack_id = self._stripFileToId(global_stack_file)
|
global_stack_id = self._stripFileToId(global_stack_file)
|
||||||
serialized = archive.open(global_stack_file).read().decode("utf-8")
|
serialized = archive.open(global_stack_file).read().decode("utf-8")
|
||||||
|
serialized = GlobalStack._updateSerialized(serialized, global_stack_file)
|
||||||
machine_name = self._getMachineNameFromSerializedStack(serialized)
|
machine_name = self._getMachineNameFromSerializedStack(serialized)
|
||||||
self._machine_info.metadata_dict = self._getMetaDataDictFromSerializedStack(serialized)
|
self._machine_info.metadata_dict = self._getMetaDataDictFromSerializedStack(serialized)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user