We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7830cc7 commit 05933efCopy full SHA for 05933ef
src/analysis/processing/qgsalgorithmdissolve.cpp
@@ -220,11 +220,16 @@ QVariantMap QgsDissolveAlgorithm::processAlgorithm( const QVariantMap ¶meter
220
// See: https://issues.qgis.org/issues/20591 - Dissolve tool failing to produce outputs
221
if ( ! result.lastError().isEmpty() && parts.count() > 2 )
222
{
223
+ if ( feedback->isCanceled() )
224
+ return result;
225
+
226
feedback->pushDebugInfo( QStringLiteral( "GEOS exception: taking the slower route ..." ) );
227
result = QgsGeometry();
228
for ( const auto &p : parts )
229
230
result = QgsGeometry::unaryUnion( QVector< QgsGeometry >() << result << p );
231
232
233
}
234
235
if ( ! result.lastError().isEmpty() )
0 commit comments