From 1f15599b4de0cbb2f78c91b867b6713c60717fcb Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Tue, 24 Jul 2018 15:53:52 +0200 Subject: [PATCH] Fix non-slicable check CURA-5465 --- cura/CuraApplication.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 4513d7edff..8dd17896bb 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1640,10 +1640,7 @@ class CuraApplication(QtApplication): node.setName(os.path.basename(file_name)) self.getBuildVolume().checkBoundsAndUpdate(node) - is_non_sliceable = False - - if file_extension in self._non_sliceable_extensions: - is_non_sliceable = True + is_non_sliceable = "." + file_extension in self._non_sliceable_extensions if is_non_sliceable: self.callLater(lambda: self.getController().setActiveView("SimulationView"))