mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-30 00:04:11 -04:00
Fix QgsMultiLineString -> toCurveType doesn't convert to curve type
This commit is contained in:
parent
1de7b42588
commit
039aff6d14
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user