mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Only use setMetaDataEntry()
This commit is contained in:
parent
76417b7fb2
commit
af02dc2758
23 changed files with 91 additions and 106 deletions
|
@ -963,7 +963,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
if not extruder_info:
|
||||
continue
|
||||
if "enabled" not in extruder_stack.getMetaData():
|
||||
extruder_stack.addMetaDataEntry("enabled", "True")
|
||||
extruder_stack.setMetaDataEntry("enabled", "True")
|
||||
extruder_stack.setMetaDataEntry("enabled", str(extruder_info.enabled))
|
||||
|
||||
def _updateActiveMachine(self, global_stack):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue