mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
use complete layerSource instead of only basename
This commit is contained in:
parent
1bc1bb2f13
commit
6a2934cfa3
@ -125,7 +125,7 @@ class RasterCalculator(QgisAlgorithm):
|
||||
|
||||
layersDict = {}
|
||||
if layers:
|
||||
layersDict = {os.path.basename(lyr.source().split(".")[0]): lyr for lyr in layers}
|
||||
layersDict = {lyr.source(): lyr for lyr in layers}
|
||||
|
||||
crs = self.parameterAsCrs(parameters, self.CRS, context)
|
||||
if not crs or not crs.isValid():
|
||||
|
Loading…
x
Reference in New Issue
Block a user