mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 04:39:59 +08:00
Use userChanges instead of getTop()
This commit is contained in:
parent
17d3be03b4
commit
ccd4bb285b
@ -123,9 +123,9 @@ class ThreeMFReader(MeshReader):
|
||||
|
||||
# Get the definition & set it
|
||||
definition_id = getMachineDefinitionIDForQualitySearch(global_container_stack.definition)
|
||||
um_node.callDecoration("getStack").getTop().setDefinition(definition_id)
|
||||
um_node.callDecoration("getStack").userChanges.setDefinition(definition_id)
|
||||
|
||||
setting_container = um_node.callDecoration("getStack").getTop()
|
||||
setting_container = um_node.callDecoration("getStack").userChanges
|
||||
|
||||
for key in settings:
|
||||
setting_value = settings[key]
|
||||
|
Loading…
x
Reference in New Issue
Block a user