Skip to content

Commit

Permalink
Fix QgsMultiLineString -> toCurveType doesn't convert to curve type
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 25, 2017
1 parent 1de7b42 commit 039aff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgsmultilinestring.cpp
Expand Up @@ -136,7 +136,7 @@ QgsMultiCurve *QgsMultiLineString::toCurveType() const
QgsMultiCurve *multiCurve = new QgsMultiCurve();
for ( int i = 0; i < mGeometries.size(); ++i )
{
multiCurve->addGeometry( mGeometries.at( i )->clone() );
multiCurve->addGeometry( mGeometries.at( i )->toCurveType() );
}
return multiCurve;
}
Expand Down

0 comments on commit 039aff6

Please sign in to comment.