Skip to content
Permalink
Browse files
[convert to curve] PR review
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
2 people authored and nyalldawson committed Jun 18, 2021
1 parent 3973c02 commit f4be8fe8849e23a46773106e8943ef6f3450df4e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsgeometry.cpp
@@ -584,7 +584,7 @@ bool QgsGeometry::convertVertex( int atVertex )
{
// TODO : move this block before the above, so we call convertVertex only in one place
// If the geom is a linestring or cirularstring, we create a compound curve
QgsCompoundCurve *cpdCurve = new QgsCompoundCurve();
std::unique_ptr<QgsCompoundCurve> cpdCurve = std::make_unique<QgsCompoundCurve>();
cpdCurve->addCurve( curve->clone() );
success = cpdCurve->convertVertex( QgsVertexId( -1, -1, id.vertex ) );

0 comments on commit f4be8fe

Please sign in to comment.