Skip to content
Permalink
Browse files

remove guards to allow memory layer

  • Loading branch information
vcloarec authored and nyalldawson committed Oct 8, 2020
1 parent 58ebb12 commit 21415938c24bf8e94bae23078f61c389d1824ee5
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/analysis/mesh/qgsmeshtriangulation.cpp
@@ -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 );

@@ -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 );

0 comments on commit 2141593

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