Skip to content
Permalink
Browse files
[processin] fixed extent checking in saga algorithm
  • Loading branch information
volaya committed Jul 22, 2014
1 parent 8e60f49 commit ad2d9440e467c45676ca5345cf232f937cbd9eb9
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/algs/saga/SagaAlgorithm.py
@@ -369,10 +369,12 @@ def checkParameterValuesBeforeExecuting(self):
"""
extent = None
for param in self.parameters:
files = []
if isinstance(param, ParameterRaster):
files = [param.value]
elif isinstance(param, ParameterMultipleInput) and param.datatype == ParameterMultipleInput.TYPE_RASTER:
files = param.value.split(";")
if param.value is not None:
files = param.value.split(";")
for f in files:
layer = dataobjects.getObjectFromUri(f)
if layer is None:

0 comments on commit ad2d944

Please sign in to comment.