mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Set container entry to empty if it was not found in the original container
This commit is contained in:
parent
dc84141714
commit
317576e983
@ -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…
x
Reference in New Issue
Block a user