Skip to content
Permalink
Browse files

[processing] remove selection before running Select by location algor…

…ithm (fix #10873)
  • Loading branch information
alexbruy committed Sep 15, 2014
1 parent 580dd13 commit 8502d11f11605225cad8b0eedba2ce0eff14ee75
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/algs/qgis/ftools/SelectByLocation.py
@@ -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):

0 comments on commit 8502d11

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