mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:19:01 +08: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
@ -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…
x
Reference in New Issue
Block a user