mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Fix getting proper container stack in decorator
Using the filter function now but the resulting list wasn't properly accounted for. Contributes to issue CURA-340.
This commit is contained in:
parent
179b6eeaac
commit
df1ca39c7b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class SettingOverrideDecorator(SceneNodeDecorator):
|
|||
if self._extruder_stack:
|
||||
extruder_stack = ContainerRegistry.getInstance().findContainerStacks(id = self._extruder_stack)
|
||||
if extruder_stack:
|
||||
self._stack.setNextStack(extruder_stack)
|
||||
self._stack.setNextStack(extruder_stack[0])
|
||||
else:
|
||||
UM.Logger.log("e", "Extruder stack %s below per-object settings does not exist.", self._extruder_stack)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue