mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -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)
|
self.addContainer(profile)
|
||||||
ContainerManager.getInstance().mergeContainers(global_profile.getId(), profile.getId())
|
ContainerManager.getInstance().mergeContainers(global_profile.getId(), profile.getId())
|
||||||
self.removeContainer(profile.getId())
|
self.removeContainer(profile.getId())
|
||||||
continue
|
break
|
||||||
else:
|
else:
|
||||||
# The imported composite profile has a profile for an extruder that this machine does not have. Ignore this extruder-profile
|
# The imported composite profile has a profile for an extruder that this machine does not have. Ignore this extruder-profile
|
||||||
continue
|
break
|
||||||
else:
|
else:
|
||||||
global_profile = profile
|
global_profile = profile
|
||||||
profile_name = name_seed
|
profile_name = name_seed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue