mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-28 23:04:34 +08: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
@ -336,7 +336,8 @@ class MachineManager(QObject):
|
|||||||
return # We're done here
|
return # We're done here
|
||||||
|
|
||||||
self._global_container_stack = global_stack
|
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)
|
self._application.setGlobalContainerStack(global_stack)
|
||||||
|
|
||||||
# Switch to the first enabled extruder
|
# Switch to the first enabled extruder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user