mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Directly use property instead of searching
This commit is contained in:
parent
c4fc797c45
commit
f7f958c540
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ class QualityManager:
|
|||
if material_containers is None:
|
||||
active_stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
|
||||
if active_stacks:
|
||||
material_containers = [stack.findContainer(type="material") for stack in active_stacks]
|
||||
material_containers = [stack.material for stack in active_stacks]
|
||||
|
||||
criteria = kwargs
|
||||
filter_by_material = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue