Skip to content

Commit 14c858a

Browse files
committed
[processing] fix crash in ConcaveHull alg when using it from console (fix #12229)
1 parent ee093b2 commit 14c858a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/processing/algs/qgis/ConcaveHull.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def processAlgorithm(self, progress):
6666
no_multigeom = self.getParameterValue(self.NO_MULTIGEOMETRY)
6767
#Delaunay triangulation from input point layer
6868
progress.setText(self.tr('Creating Delaunay triangles...'))
69-
delone_triangles = processing.runalg("qgis:delaunaytriangulation", layer, None)['OUTPUT']
69+
delone_triangles = processing.runalg("qgis:delaunaytriangulation", layer, None, progress=None)['OUTPUT']
7070
delaunay_layer = processing.getObject(delone_triangles)
7171
#get max edge length from Delaunay triangles
7272
progress.setText(self.tr('Computing edges max length...'))
@@ -99,7 +99,7 @@ def processAlgorithm(self, progress):
9999
#dissolve all Delaunay triangles
100100
progress.setText(self.tr('Dissolving Delaunay triangles...'))
101101
dissolved = processing.runalg("qgis:dissolve", delaunay_layer,
102-
True, None, None)['OUTPUT']
102+
True, None, None, progress=None)['OUTPUT']
103103
dissolved_layer = processing.getObject(dissolved)
104104
#save result
105105
progress.setText(self.tr('Saving data...'))

0 commit comments

Comments
 (0)