Skip to content

Commit

Permalink
Remove validation of geometries (GEOS validation is not 3D enabled)
Browse files Browse the repository at this point in the history
  • Loading branch information
liberostelios committed Oct 4, 2017
1 parent c764d9c commit cb241e8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/3d/symbols/qgspolygon3dsymbol_p.cpp
Expand Up @@ -119,13 +119,6 @@ Qt3DRender::QGeometryRenderer *QgsPolygon3DSymbolEntityNode::renderer( const Qgs
if ( QgsWkbTypes::isCurvedType( geom.geometry()->wkbType() ) )
geom = QgsGeometry( geom.geometry()->segmentize() );

if ( !geom.isGeosValid() )
{
// invalid geometries break tessellation
qDebug() << "skipping invalid geometry" << f.id();
continue;
}

const QgsAbstractGeometry *g = geom.geometry();

if ( const QgsPolygonV2 *poly = qgsgeometry_cast< const QgsPolygonV2 *>( g ) )
Expand Down

0 comments on commit cb241e8

Please sign in to comment.