We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b879d53 commit 7f4880bCopy full SHA for 7f4880b
src/core/geometry/qgscurvepolygon.h
@@ -154,7 +154,7 @@ class CORE_EXPORT QgsCurvePolygon: public QgsSurface
154
if ( !geom )
155
return nullptr;
156
157
- QgsWkbTypes::Type flatType = geom->wkbType();
+ QgsWkbTypes::Type flatType = QgsWkbTypes::flatType( geom->wkbType() );
158
if ( flatType == QgsWkbTypes::CurvePolygon
159
|| flatType == QgsWkbTypes::Polygon
160
|| flatType == QgsWkbTypes::Triangle )
0 commit comments