Skip to content
Permalink
Browse files

Don't test imported rings for validity (fixes display of simplified p…

…olygons)
  • Loading branch information
mhugent committed Jun 6, 2015
1 parent f3c781e commit 211d28b5a04b4fc242ce54989b5aea6c4fa0fd16
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/geometry/qgspolygonv2.cpp
@@ -48,10 +48,10 @@ bool QgsPolygonV2::fromWkb( const unsigned char* wkb )
{
QgsLineStringV2* line = new QgsLineStringV2();
line->fromWkbPoints( mWkbType, wkbPtr );
if ( !line->isRing() )
/*if ( !line->isRing() )
{
delete line; continue;
}
}*/

if ( !mExteriorRing )
{

1 comment on commit 211d28b

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn commented on 211d28b Jun 7, 2015

@mhugent , this commit took care of the regression I raised here http://hub.qgis.org/issues/12896 . Thanks for the quick response.

Please sign in to comment.
You can’t perform that action at this time.