Skip to content

Commit

Permalink
[processing] fix loading of output rasters with wrong CRS
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 1, 2014
1 parent 2d835fb commit 16e82f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/tools/dataobjects.py
Expand Up @@ -168,7 +168,7 @@ def load(fileName, name=None, crs=None, style=None):
else:
qgslayer = QgsRasterLayer(fileName, name)
if qgslayer.isValid():
if crs is not None:
if crs is not None and qgslayer.crs() is None:
qgslayer.setCrs(crs, False)
if style is None:
style = ProcessingConfig.getSetting(
Expand Down

0 comments on commit 16e82f0

Please sign in to comment.