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 40942fa
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.