Skip to content

Commit

Permalink
fix #7172 and #7174
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 17, 2013
1 parent 5542504 commit d8ec492
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/fTools/tools/doGeoprocessing.py
Expand Up @@ -1245,6 +1245,8 @@ def union( self ):
def symetrical_difference( self ):
GEOS_EXCEPT = True
FEATURE_EXCEPT = True
vproviderA = self.vlayerA.dataProvider()
vproviderB = self.vlayerB.dataProvider()

# check for crs compatibility
crsA = vproviderA.crs()
Expand Down Expand Up @@ -1340,6 +1342,8 @@ def symetrical_difference( self ):
def clip( self ):
GEOS_EXCEPT = True
FEATURE_EXCEPT = True
vproviderA = self.vlayerA.dataProvider()
vproviderB = self.vlayerB.dataProvider()

# check for crs compatibility
crsA = vproviderA.crs()
Expand Down

0 comments on commit d8ec492

Please sign in to comment.