Skip to content

Commit

Permalink
Fix #10475 (symmetrical difference behaves like difference)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jun 12, 2014
1 parent 023fc00 commit fc8d07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doGeoprocessing.py
Expand Up @@ -1329,7 +1329,7 @@ def symetrical_difference( self ):
geom = QgsGeometry( inFeatA.geometry() )
diff_geom = QgsGeometry( geom )
atMap = inFeatA.attributes()
atMap = dict( zip( range( length, length + len( atMap ) ), atMap ) )
atMap = [ NULL ] * length + atMap
intersects = indexB.intersects( geom.boundingBox() )
for id in intersects:
vproviderA.getFeatures( QgsFeatureRequest().setFilterFid( int( id ) ) ).nextFeature( inFeatB )
Expand Down

0 comments on commit fc8d07e

Please sign in to comment.