Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/qgsgeometry.cpp
6 changes: 6 additions & 0 deletions src/core/qgsgeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5221,6 +5221,12 @@ bool QgsGeometry::exportGeosToWkb() const

bool QgsGeometry::convertToMultiType()
{
// TODO: implement with GEOS
if ( mDirtyWkb )
{
exportGeosToWkb();
}

if ( !mGeometry )
{
return false;
Expand Down