Skip to content

Commit f706c71

Browse files
committedFeb 16, 2017
Make saving shapefiles slightly faster
1 parent 34b277a commit f706c71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/core/qgsvectorfilewriter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,6 +2304,7 @@ QgsVectorFileWriter::writeAsVectorFormat( QgsVectorLayer* layer,
23042304
{
23052305
req.setFilterFids( layer->selectedFeatureIds() );
23062306
}
2307+
req.setSubsetOfAttributes( QgsAttributeList() );
23072308
QgsFeatureIterator fit = layer->getFeatures( req );
23082309
QgsFeature fet;
23092310

1 commit comments

Comments
 (1)

nirvn commented on Feb 16, 2017

@nirvn
Contributor

That's always welcome :)

Please sign in to comment.