fixes problem with output type when using multipart to singleparts tool. Thanks to Luiz Motta for the fix.

git-svn-id: http://svn.osgeo.org/qgis/trunk@15451 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
cfarmer 2011-03-12 15:51:20 +00:00
parent 489e34bc70
commit 242c315116

View File

@ -355,7 +355,7 @@ class geometryThread( QThread ):
vprovider.select( allAttrs )
fields = vprovider.fields()
writer = QgsVectorFileWriter( self.myName, self.myEncoding,
fields, vprovider.geometryType(), vprovider.crs() )
fields, vprovider.geometryType()-3, vprovider.crs() )
inFeat = QgsFeature()
outFeat = QgsFeature()
inGeom = QgsGeometry()