Skip to content

Commit 7ca8de9

Browse files
committedAug 22, 2017
[processing] fixes in SAGA algorithm after latest changes
1 parent ce14633 commit 7ca8de9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎python/plugins/processing/algs/saga/SagaAlgorithm.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,14 @@ def defineCharacteristicsFromFile(self):
128128
self.addOutput(getOutputFromString(line))
129129
line = lines.readline().strip('\n').strip()
130130
hasRaster = False
131-
hasHardcodedResampling = False
132131
for param in self.parameters:
133132
if (isinstance(param, ParameterRaster) or
134133
(isinstance(param, ParameterMultipleInput)
135134
and param.type == ParameterMultipleInput.TYPE_RASTER)):
136135
hasRaster = True
137136
break;
138137

139-
if (not self.noResamplingChoice and
140-
not self.forceNearestNeighbour and hasRaster):
138+
if (not self.noResamplingChoice and hasRaster):
141139
param = ParameterSelection(self.RESAMPLING, "Resampling method", ["Nearest Neighbour", "Bilinear Interpolation", "Bicubic Spline Interpolation", "B-Spline Interpolation"], 3)
142140
param.isAdvanced = True
143141
self.addParameter(param)

0 commit comments

Comments
 (0)