We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a463858 commit 16465cbCopy full SHA for 16465cb
src/analysis/processing/qgsalgorithmexplode.cpp
@@ -128,6 +128,8 @@ std::vector<QgsGeometry> QgsExplodeAlgorithm::extractAsParts( const QgsGeometry
128
std::vector<QgsGeometry> QgsExplodeAlgorithm::curveAsSingleSegments( const QgsCurve *curve, bool useCompoundCurves ) const
129
{
130
std::vector<QgsGeometry> parts;
131
+ if ( !curve )
132
+ return parts;
133
switch ( QgsWkbTypes::flatType( curve->wkbType() ) )
134
135
case QgsWkbTypes::LineString:
0 commit comments