mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 11:47:50 -06:00
Prevent race condition before global container stack is made
Just properly check if there is a global container stack.
This commit is contained in:
parent
861837ef41
commit
6c3b4b7f29
1 changed files with 2 additions and 0 deletions
|
@ -769,6 +769,8 @@ class MachineManager(QObject):
|
|||
result = []
|
||||
empty_quality_changes = self._empty_quality_changes_container
|
||||
global_container_stack = self._global_container_stack
|
||||
if not global_container_stack:
|
||||
return []
|
||||
global_machine_definition = quality_manager.getParentMachineDefinition(global_container_stack.getBottom())
|
||||
|
||||
extruder_stacks = ExtruderManager.getInstance().getActiveExtruderStacks()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue