mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Slightly more defensive programming in case of extruder mismatch
This commit is contained in:
parent
046d0b5956
commit
144dcb5a65
1 changed files with 2 additions and 2 deletions
|
@ -181,10 +181,10 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||
self.addContainer(profile)
|
||||
ContainerManager.getInstance().mergeContainers(global_profile.getId(), profile.getId())
|
||||
self.removeContainer(profile.getId())
|
||||
continue
|
||||
break
|
||||
else:
|
||||
# The imported composite profile has a profile for an extruder that this machine does not have. Ignore this extruder-profile
|
||||
continue
|
||||
break
|
||||
else:
|
||||
global_profile = profile
|
||||
profile_name = name_seed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue