Skip to content

Commit

Permalink
Make saving shapefiles slightly faster
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 16, 2017
1 parent 34b277a commit f706c71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsvectorfilewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2304,6 +2304,7 @@ QgsVectorFileWriter::writeAsVectorFormat( QgsVectorLayer* layer,
{
req.setFilterFids( layer->selectedFeatureIds() );
}
req.setSubsetOfAttributes( QgsAttributeList() );
QgsFeatureIterator fit = layer->getFeatures( req );
QgsFeature fet;

Expand Down

1 comment on commit f706c71

@nirvn
Copy link
Contributor

@nirvn nirvn commented on f706c71 Feb 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's always welcome :)

Please sign in to comment.