mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Make sure that a machine's default actions are added before it gets activated
CURA-5812
This commit is contained in:
parent
c67abb61a8
commit
59704e4c0e
2 changed files with 26 additions and 17 deletions
|
@ -364,6 +364,10 @@ class MachineManager(QObject):
|
|||
return
|
||||
|
||||
global_stack = containers[0]
|
||||
|
||||
# Make sure that the default machine actions for this machine have been added
|
||||
self._application.getMachineActionManager().addDefaultMachineActions(global_stack)
|
||||
|
||||
ExtruderManager.getInstance()._fixSingleExtrusionMachineExtruderDefinition(global_stack)
|
||||
if not global_stack.isValid():
|
||||
# Mark global stack as invalid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue