mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Merge pull request #8553 from Ultimaker/CURA-7501_no_double_adding_extruders
Prevent duplicate adding of extruders
This commit is contained in:
commit
4804072625
1 changed files with 2 additions and 1 deletions
|
@ -336,7 +336,8 @@ class MachineManager(QObject):
|
|||
return # We're done here
|
||||
|
||||
self._global_container_stack = global_stack
|
||||
extruder_manager.addMachineExtruders(global_stack)
|
||||
if not global_stack.extruderList: # First time we're activating this, there are no extruders yet.
|
||||
extruder_manager.addMachineExtruders(global_stack)
|
||||
self._application.setGlobalContainerStack(global_stack)
|
||||
|
||||
# Switch to the first enabled extruder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue