mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-07 00:03:52 -05:00
[processing] fixed crs checking before running alg
This commit is contained in:
parent
2b181cb55c
commit
b114085257
@ -383,7 +383,7 @@ class GeoAlgorithm:
|
|||||||
crs = dataobjects.getObject(item).crs()
|
crs = dataobjects.getObject(item).crs()
|
||||||
if crs not in crsList:
|
if crs not in crsList:
|
||||||
crsList.append(crs)
|
crsList.append(crs)
|
||||||
return len(crsList) == 1
|
return len(crsList) < 2
|
||||||
|
|
||||||
def addOutput(self, output):
|
def addOutput(self, output):
|
||||||
# TODO: check that name does not exist
|
# TODO: check that name does not exist
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user