Skip to content

Commit

Permalink
[processing] remove selection before running Select by location algor…
Browse files Browse the repository at this point in the history
…ithm (fix #10873)
  • Loading branch information
alexbruy committed Sep 15, 2014
1 parent 580dd13 commit 8502d11
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -80,6 +80,7 @@ def processAlgorithm(self, progress):
selectLayer = dataobjects.getObjectFromUri(filename)

oldSelection = set(inputLayer.selectedFeaturesIds())
inputLayer.removeSelection()
index = vector.spatialindex(inputLayer)

def _points_op(geomA,geomB):
Expand Down

0 comments on commit 8502d11

Please sign in to comment.