From 144dcb5a655e51923cebc838c60cef0e31c77d0e Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Mon, 3 Oct 2016 22:18:38 +0200 Subject: [PATCH] Slightly more defensive programming in case of extruder mismatch --- cura/Settings/CuraContainerRegistry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/Settings/CuraContainerRegistry.py b/cura/Settings/CuraContainerRegistry.py index bd1f981c80..d858bf73f4 100644 --- a/cura/Settings/CuraContainerRegistry.py +++ b/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