Skip to content

Commit 942bad2

Browse files
olivierdalangnyalldawson
authored andcommittedJun 21, 2021
fix convertToCurve not converting CURVEPOLYGON
1 parent 1a9501b commit 942bad2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed
 

‎src/core/geometry/qgsinternalgeometryengine.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,13 +1419,6 @@ QgsGeometry QgsInternalGeometryEngine::convertToCurves( double distanceTolerance
14191419
return QgsGeometry( mGeometry->clone() ); // point geometry, nothing to do
14201420
}
14211421

1422-
if ( QgsWkbTypes::isCurvedType( mGeometry->wkbType() ) )
1423-
{
1424-
// already curved. In future we may want to allow this, and convert additional candidate segments
1425-
// in an already curved geometry to curves
1426-
return QgsGeometry( mGeometry->clone() );
1427-
}
1428-
14291422
if ( const QgsGeometryCollection *gc = qgsgeometry_cast< const QgsGeometryCollection *>( mGeometry ) )
14301423
{
14311424
int numGeom = gc->numGeometries();

0 commit comments

Comments
 (0)