Skip to content

Commit 211d28b

Browse files
committed
Don't test imported rings for validity (fixes display of simplified polygons)
1 parent f3c781e commit 211d28b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/geometry/qgspolygonv2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ bool QgsPolygonV2::fromWkb( const unsigned char* wkb )
4848
{
4949
QgsLineStringV2* line = new QgsLineStringV2();
5050
line->fromWkbPoints( mWkbType, wkbPtr );
51-
if ( !line->isRing() )
51+
/*if ( !line->isRing() )
5252
{
5353
delete line; continue;
54-
}
54+
}*/
5555

5656
if ( !mExteriorRing )
5757
{

0 commit comments

Comments
 (0)