Skip to content
Permalink
Browse files

[processing] fix old API calls in Extract by location tool (fix #9603)

  • Loading branch information
alexbruy committed Mar 24, 2014
1 parent ae2a3a8 commit 40942fa7d594c12b9b2f5d302ae871676fc4eb66
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/ftools/ExtractByLocation.py
@@ -74,7 +74,7 @@ def processAlgorithm(self, progress):
progress.setPercentage(int(current * total))

output = self.getOutputFromName(self.OUTPUT)
writer = output.getVectorWriter(layer.fields(),
writer = output.getVectorWriter(layer.layer.pendingFields().toList(),
layer.geometryType(), layer.crs())

for (i, feat) in enumerate(features):

0 comments on commit 40942fa

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