Skip to content

Commit

Permalink
[Processing] Fix issue in setting the subset from canvas extent.
Browse files Browse the repository at this point in the history
  • Loading branch information
radosuav committed Dec 11, 2015
1 parent c9fa334 commit 41286e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/gui/ExtentSelectionPanel.py
Expand Up @@ -148,7 +148,8 @@ def addToRegion(self, layer, first):
def useLayerExtent(self):
CANVAS_KEY = 'Use canvas extent'
extentsDict = {}
extentsDict[CANVAS_KEY] = iface.mapCanvas().extent()
extentsDict[CANVAS_KEY] = {"extent": iface.mapCanvas().extent(),
"authid": iface.mapCanvas().mapRenderer().destinationCrs().authid()}
extents = [CANVAS_KEY]
layers = dataobjects.getAllLayers()
for layer in layers:
Expand Down

0 comments on commit 41286e5

Please sign in to comment.