mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 12:09:13 +08:00
Fixed issue that in some cases not all changed settings for all extruders were shown
CURA-3221
This commit is contained in:
parent
a1281bc019
commit
1ba8ee2051
@ -38,11 +38,7 @@ class UserChangesModel(ListModel):
|
||||
def _update(self):
|
||||
items = []
|
||||
global_stack = Application.getInstance().getGlobalContainerStack()
|
||||
stacks = ExtruderManager.getInstance().getUsedExtruderStacks()
|
||||
|
||||
# Ensure that the global stack is in the list of stacks.
|
||||
if global_stack.getProperty("machine_extruder_count", "value") > 1:
|
||||
stacks.append(global_stack)
|
||||
stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
|
||||
|
||||
# Check if the definition container has a translation file and ensure it's loaded.
|
||||
definition = global_stack.getBottom()
|
||||
|
Loading…
x
Reference in New Issue
Block a user