We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent bcaad3a commit 095a324Copy full SHA for 095a324
src/core/geometry/qgsgeometry.cpp
@@ -2196,7 +2196,7 @@ QVector<QgsGeometry> QgsGeometry::asGeometryCollection() const
2196
}
2197
else //a singlepart geometry
2198
{
2199
- geometryList.append( QgsGeometry( d->geometry->clone() ) );
+ geometryList.append( *this );
2200
2201
2202
return geometryList;
0 commit comments