Skip to content

Commit fbd8a43

Browse files
author
cfarmer
committed
Fixes error with union function
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10420 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 8a29965 commit fbd8a43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/plugins/fTools/tools/doGeoprocessing.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,9 @@ def union( self ):
605605
try:
606606
if geom.intersects( tmpGeom ):
607607
found = True
608-
diff_geom = QgsGeometry( diff_geom.difference( tmpGeom ) )
608+
diff_geom = QgsGeometry( geom.difference( tmpGeom ) )#
609609
int_geom = QgsGeometry( geom.intersection( tmpGeom ) )
610+
print "found"
610611
if int_geom.wkbType() == 7:
611612
int_com = geom.combine( tmpGeom )
612613
int_sym = geom.symDifference( tmpGeom )

0 commit comments

Comments
 (0)