mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
setDefinition() takes the ID instead of the container
CURA-4713
This commit is contained in:
parent
f26872ec1f
commit
248fe37ed9
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||
user_container.addMetaDataEntry("machine", extruder_stack.getId())
|
||||
from cura.CuraApplication import CuraApplication
|
||||
user_container.addMetaDataEntry("setting_version", CuraApplication.SettingVersion)
|
||||
user_container.setDefinition(machine.definition)
|
||||
user_container.setDefinition(machine.definition.getId())
|
||||
|
||||
if machine.userChanges:
|
||||
# for the newly created extruder stack, we need to move all "per-extruder" settings to the user changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue