Skip to content
Permalink
Browse files
fix #7179
  • Loading branch information
jef-n committed Feb 19, 2013
1 parent 99dfce1 commit a86622b32c06bc7f56498624f7b4ca65c3ede024
Showing with 7 additions and 6 deletions.
  1. +7 −6 python/plugins/fTools/tools/doGeometry.py
@@ -392,12 +392,13 @@ def single_to_multi( self ):
multi_feature.extend( feature_list )
nElement += 1
self.emit( SIGNAL( "runStatus( PyQt_PyObject )" ), nElement )
outFeat.setAttributes( atts )
outGeom = QgsGeometry( self.convertGeometry( multi_feature, vType ) )
if not outGeom.isGeosValid():
allValid = "valid_error"
outFeat.setGeometry( outGeom )
writer.addFeature( outFeat )
if not first:
outFeat.setAttributes( atts )
outGeom = QgsGeometry( self.convertGeometry( multi_feature, vType ) )
if not outGeom.isGeosValid():
allValid = "valid_error"
outFeat.setGeometry( outGeom )
writer.addFeature( outFeat )
del writer
else:
return "attr_error"

0 comments on commit a86622b

Please sign in to comment.