When project loading needs to create a new machine, also create a new definition changes

CURA-4345
This commit is contained in:
Jaime van Kessel 2017-09-19 14:02:01 +02:00
parent 03a159e423
commit e5f3d45385
2 changed files with 7 additions and 1 deletions

View file

@ -748,6 +748,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
# MUST get updated too.
#
if self._resolve_strategies["machine"] == "new":
# A new machine was made, but it was serialized with the wrong user container. Fix that now.
for container in user_instance_containers:
# replacing the container ID for user instance containers for the extruders