mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 20:19:32 +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):
|
def _update(self):
|
||||||
items = []
|
items = []
|
||||||
global_stack = Application.getInstance().getGlobalContainerStack()
|
global_stack = Application.getInstance().getGlobalContainerStack()
|
||||||
stacks = ExtruderManager.getInstance().getUsedExtruderStacks()
|
stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
|
||||||
|
|
||||||
# Ensure that the global stack is in the list of stacks.
|
|
||||||
if global_stack.getProperty("machine_extruder_count", "value") > 1:
|
|
||||||
stacks.append(global_stack)
|
|
||||||
|
|
||||||
# Check if the definition container has a translation file and ensure it's loaded.
|
# Check if the definition container has a translation file and ensure it's loaded.
|
||||||
definition = global_stack.getBottom()
|
definition = global_stack.getBottom()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user