Skip to content
Browse files

[processing] fix crash in ConcaveHull alg when using it from console (f…

…ix #12229)
  • Loading branch information
alexbruy committed Jan 13, 2016
1 parent ee093b2 commit 14c858a0b1b56586902daaddb54840ac417f975c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/qgis/
@@ -66,7 +66,7 @@ def processAlgorithm(self, progress):
no_multigeom = self.getParameterValue(self.NO_MULTIGEOMETRY)
#Delaunay triangulation from input point layer
progress.setText('Creating Delaunay triangles...'))
delone_triangles = processing.runalg("qgis:delaunaytriangulation", layer, None)['OUTPUT']
delone_triangles = processing.runalg("qgis:delaunaytriangulation", layer, None, progress=None)['OUTPUT']
delaunay_layer = processing.getObject(delone_triangles)
#get max edge length from Delaunay triangles
progress.setText('Computing edges max length...'))
@@ -99,7 +99,7 @@ def processAlgorithm(self, progress):
#dissolve all Delaunay triangles
progress.setText('Dissolving Delaunay triangles...'))
dissolved = processing.runalg("qgis:dissolve", delaunay_layer,
True, None, None)['OUTPUT']
True, None, None, progress=None)['OUTPUT']
dissolved_layer = processing.getObject(dissolved)
#save result
progress.setText('Saving data...'))

0 comments on commit 14c858a

Please sign in to comment.
You can’t perform that action at this time.