Skip to content

Commit

Permalink
[Processing] Headless scriptability little enhanced
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Jan 10, 2014
1 parent ccde424 commit 27713b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/core/GeoAlgorithm.py
Expand Up @@ -358,6 +358,8 @@ def setOutputCRS(self):
self.crs = p.crs()
return
qgis = dataobjects.interface.iface
if qgis is None:
return
self.crs = qgis.mapCanvas().mapRenderer().destinationCrs()

def checkInputCRS(self):
Expand Down

0 comments on commit 27713b8

Please sign in to comment.