From 13c8bc45832df04abfb1bdeabe7aa4ee17e2dcfa Mon Sep 17 00:00:00 2001 From: daid Date: Mon, 23 Apr 2012 15:24:16 +0200 Subject: [PATCH] Only allow printing with slic3r if we can find the executable, else silently use CuraSF --- Cura/util/sliceRun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/util/sliceRun.py b/Cura/util/sliceRun.py index 0bc157f..e4ddf2f 100644 --- a/Cura/util/sliceRun.py +++ b/Cura/util/sliceRun.py @@ -61,7 +61,7 @@ def runSlice(fileNames): subprocess.call([pypyExe, os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", os.path.split(sys.argv[0])[1])), '-p', profile.getGlobalProfileString(), fileName]) def getSliceCommand(filename): - if profile.getPreference('slicer').startswith('Slic3r'): + if profile.getPreference('slicer').startswith('Slic3r') and getSlic3rExe() != False: slic3rExe = getSlic3rExe() if slic3rExe == False: return False