Skip to content

Commit

Permalink
fixes problem with output type when using multipart to singleparts to…
Browse files Browse the repository at this point in the history
…ol. Thanks to Luiz Motta for the fix.

git-svn-id: http://svn.osgeo.org/qgis/trunk@15451 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Mar 12, 2011
1 parent 489e34b commit 242c315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doGeometry.py
Expand Up @@ -355,7 +355,7 @@ def multi_to_single( self ):
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()
Expand Down

0 comments on commit 242c315

Please sign in to comment.