Skip to content
Permalink
Browse files

[Processing] Fix issue in setting the subset from canvas extent.

  • Loading branch information
radosuav
radosuav committed Dec 11, 2015
1 parent c9fa334 commit 41286e50619961939533225214d2af38b602ccbe
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/gui/ExtentSelectionPanel.py
@@ -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:

0 comments on commit 41286e5

Please sign in to comment.
You can’t perform that action at this time.