mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Revert "Use userChanges instead of getTop()"
PerObjectContainerStacks are not CuraContainerStacks, so we cannot use "userChanges" with it.
This commit is contained in:
parent
85f3b7dcee
commit
f304e7f2e7
1 changed files with 2 additions and 2 deletions
|
@ -123,9 +123,9 @@ class ThreeMFReader(MeshReader):
|
|||
|
||||
# Get the definition & set it
|
||||
definition_id = getMachineDefinitionIDForQualitySearch(global_container_stack.definition)
|
||||
um_node.callDecoration("getStack").userChanges.setDefinition(definition_id)
|
||||
um_node.callDecoration("getStack").getTop().setDefinition(definition_id)
|
||||
|
||||
setting_container = um_node.callDecoration("getStack").userChanges
|
||||
setting_container = um_node.callDecoration("getStack").getTop()
|
||||
|
||||
for key in settings:
|
||||
setting_value = settings[key]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue