mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Set container entry to empty if it was not found in the original container
This commit is contained in:
parent
dc84141714
commit
317576e983
1 changed files with 2 additions and 0 deletions
|
@ -229,6 +229,8 @@ class GlobalStack(ContainerStack):
|
|||
actual_container = self.findContainer(type = type_name)
|
||||
if actual_container:
|
||||
new_containers[index] = actual_container
|
||||
else:
|
||||
new_containers[index] = self._empty_instance_container
|
||||
|
||||
print("containers after", new_containers)
|
||||
self._containers = new_containers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue