Skip to content

Commit

Permalink
[convert to curve] (detail)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent 3a05105 commit c0cd1a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/geometry/qgsgeometry.cpp
Expand Up @@ -597,8 +597,7 @@ bool QgsGeometry::toggleCircularAtVertex( int atVertex )
// Standalone linestring
reset( std::make_unique<QgsCompoundCurve>( *cpdCurve ) ); // <- REVIEW PLZ
}

if ( owningPolygon != nullptr )
else if ( owningPolygon != nullptr )
{
// Replace the ring in the owning polygon
if ( id.ring == 0 )
Expand Down

0 comments on commit c0cd1a1

Please sign in to comment.