Only allow printing with slic3r if we can find the executable, else silently use CuraSF
This commit is contained in:
parent
c2c1e0fd63
commit
13c8bc4583
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
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):
|
def getSliceCommand(filename):
|
||||||
if profile.getPreference('slicer').startswith('Slic3r'):
|
if profile.getPreference('slicer').startswith('Slic3r') and getSlic3rExe() != False:
|
||||||
slic3rExe = getSlic3rExe()
|
slic3rExe = getSlic3rExe()
|
||||||
if slic3rExe == False:
|
if slic3rExe == False:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue