mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 23:19:01 +08:00
Use newer extruderList rather than deprecated extruders property
Done during Turbo Testing and Tooling.
This commit is contained in:
parent
43980e90cd
commit
44abd08b32
@ -97,7 +97,7 @@ class UFPWriter(MeshWriter):
|
||||
Logger.log("w", "The material extension: %s was already added", material_extension)
|
||||
|
||||
added_materials = []
|
||||
for extruder_stack in global_stack.extruders.values():
|
||||
for extruder_stack in global_stack.extruderList:
|
||||
material = extruder_stack.material
|
||||
try:
|
||||
material_file_name = material.getMetaData()["base_file"] + ".xml.fdm_material"
|
||||
|
Loading…
x
Reference in New Issue
Block a user