Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1994 from bstroebl/bugInEliminate
[processing] avoid run-time error in the Eliminate sliver polygons algorithm
  • Loading branch information
alexbruy committed Apr 21, 2015
2 parents 8ccae4f + af64ae9 commit 2fddcaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/Eliminate.py
Expand Up @@ -243,6 +243,9 @@ def processAlgorithm(self, progress):
# We have a candidate
iGeom = geom2Eliminate.intersection(selGeom)

if iGeom == None:
continue

if boundary:
selValue = iGeom.length()
else:
Expand Down

0 comments on commit 2fddcaf

Please sign in to comment.