Skip to content
Permalink
Browse files

Fix QgsMultiLineString -> toCurveType doesn't convert to curve type

  • Loading branch information
nyalldawson committed Sep 25, 2017
1 parent 1de7b42 commit 039aff6d146c26c7162cd2530372dcac81d4305d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsmultilinestring.cpp
@@ -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;
}

0 comments on commit 039aff6

Please sign in to comment.
You can’t perform that action at this time.