[processing] fixed crs checking before running alg

This commit is contained in:
volaya 2014-10-04 10:21:18 +02:00
parent 2b181cb55c
commit b114085257

View File

@ -383,7 +383,7 @@ class GeoAlgorithm:
crs = dataobjects.getObject(item).crs()
if crs not in crsList:
crsList.append(crs)
return len(crsList) == 1
return len(crsList) < 2
def addOutput(self, output):
# TODO: check that name does not exist