Просмотр исходного кода

Slightly more defensive programming in case of extruder mismatch

fieldOfView 8 лет назад
Родитель
Сommit
144dcb5a65
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      cura/Settings/CuraContainerRegistry.py

+ 2 - 2
cura/Settings/CuraContainerRegistry.py

@@ -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