mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Don't use isinstance to check for extruder stack vs. global
Just use the metadata available. Contributes to issue CURA-6600.
This commit is contained in:
parent
297b430712
commit
a1e6ba615c
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class QualityManagementModel(ListModel):
|
|||
continue
|
||||
|
||||
extruder_stack = None
|
||||
if isinstance(stack, ExtruderStack):
|
||||
if stack.getMetaDataEntry("position") is not None:
|
||||
extruder_stack = stack
|
||||
new_changes = self._createQualityChanges(quality_container.getMetaDataEntry("quality_type"), unique_name, global_stack, extruder_stack)
|
||||
container_manager._performMerge(new_changes, quality_changes_container, clear_settings = False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue