Skip to content
Browse files
[PROCESSING] Avoid run-time error
if intersection geometry is None (happens IMHO if geometries are not valid)
  • Loading branch information
Bernhard Ströbl committed Apr 16, 2015
1 parent c9ec4d4 commit af64ae966f0d3b97233be82f17b1a8dcae0850d4
Showing 1 changed file with 3 additions and 0 deletions.
@@ -243,6 +243,9 @@ def processAlgorithm(self, progress):
# We have a candidate
iGeom = geom2Eliminate.intersection(selGeom)

if iGeom == None:

if boundary:
selValue = iGeom.length()

0 comments on commit af64ae9

Please sign in to comment.