Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove guards to allow memory layer
  • Loading branch information
vcloarec authored and nyalldawson committed Oct 8, 2020
1 parent 58ebb12 commit 2141593
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/analysis/mesh/qgsmeshtriangulation.cpp
Expand Up @@ -36,9 +36,6 @@ QgsMeshTriangulation::~QgsMeshTriangulation() = default;

bool QgsMeshTriangulation::addVertices( QgsFeatureIterator &vertexFeatureIterator, int valueAttribute, const QgsCoordinateTransform &transform, QgsFeedback *feedback, long featureCount )
{
if ( !vertexFeatureIterator.isValid() || vertexFeatureIterator.isClosed() )
return false;

if ( feedback )
feedback->setProgress( 0 );

Expand All @@ -63,9 +60,6 @@ bool QgsMeshTriangulation::addVertices( QgsFeatureIterator &vertexFeatureIterato

bool QgsMeshTriangulation::addBreakLines( QgsFeatureIterator &lineFeatureIterator, int valueAttribute, const QgsCoordinateTransform &transform, QgsFeedback *feedback, long featureCount )
{
if ( !lineFeatureIterator.isValid() || lineFeatureIterator.isClosed() )
return false;

if ( feedback )
feedback->setProgress( 0 );

Expand Down

0 comments on commit 2141593

Please sign in to comment.