mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
WIP: use .userChanges property to replace user containers in project loading
CURA-3756
This commit is contained in:
parent
3baec9b742
commit
8a94f94258
1 changed files with 2 additions and 2 deletions
|
@ -585,14 +585,14 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
if extruder_id:
|
||||
for extruder in extruder_stacks:
|
||||
if extruder.getId() == extruder_id:
|
||||
extruder.replaceContainer(0, container)
|
||||
extruder.userChanges = container
|
||||
continue
|
||||
|
||||
# replacing the container ID for user instance containers for the machine
|
||||
machine_id = container.getMetaDataEntry("machine", None)
|
||||
if machine_id:
|
||||
if global_stack.getId() == machine_id:
|
||||
global_stack.replaceContainer(0, container)
|
||||
global_stack.userChanges = container
|
||||
continue
|
||||
|
||||
for changes_container_type in ("quality_changes", "definition_changes"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue