mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Fix for getting machine extruders from manager instance - CURA-4482
This commit is contained in:
parent
f20ba4a118
commit
911f619000
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ class ExtruderManager(QObject):
|
|||
}
|
||||
|
||||
result = []
|
||||
for extruder in ExtruderManager.getMachineExtruders(global_stack.getId()):
|
||||
for extruder in ExtruderManager.getInstance().getMachineExtruders(global_stack.getId()):
|
||||
# only include values from extruders that are "active" for the current machine instance
|
||||
if int(extruder.getMetaDataEntry("position")) >= global_stack.getProperty("machine_extruder_count", "value", context = context):
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue