From 74984b2525e8d34a5bce3c2100f32beea0f3e165 Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Fri, 2 Jun 2017 10:08:22 +0300 Subject: [PATCH] [processing] always look for SAGA LTR first (fix #16648) --- python/plugins/processing/algs/saga/SagaUtils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/plugins/processing/algs/saga/SagaUtils.py b/python/plugins/processing/algs/saga/SagaUtils.py index 6b62be7a2008..989da10f6535 100644 --- a/python/plugins/processing/algs/saga/SagaUtils.py +++ b/python/plugins/processing/algs/saga/SagaUtils.py @@ -68,6 +68,7 @@ def findSagaFolder(): folder = testfolder elif isWindows(): folders = [] + folders.append(os.path.join(os.path.dirname(QgsApplication.prefixPath()), 'saga-ltr')) folders.append(os.path.join(os.path.dirname(QgsApplication.prefixPath()), 'saga')) if "OSGEO4W_ROOT" in os.environ: folders.append(os.path.join(str(os.environ['OSGEO4W_ROOT']), "apps", "saga-ltr"))