Skip to content
Permalink
Browse files

Remove validation of geometries (GEOS validation is not 3D enabled)

  • Loading branch information
liberostelios committed Oct 4, 2017
1 parent c764d9c commit cb241e8f69e1e7e3acec8d0644783b71da4a1449
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/3d/symbols/qgspolygon3dsymbol_p.cpp
@@ -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 ) )

0 comments on commit cb241e8

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