Skip to content
Permalink
Browse files

Only increment progress after processing a single feature

  • Loading branch information
nyalldawson committed Jan 2, 2020
1 parent bb131c8 commit 6aa20fbd2f2a17bedd98f66a622d7f378afe7f59
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/analysis/processing/qgsalgorithmjoinbylocation.cpp
@@ -195,10 +195,12 @@ QVariantMap QgsJoinByLocationAlgorithm::processAlgorithm( const QVariantMap &par
{
if ( feedback->isCanceled() )
break;
feedback->setProgress( i * step );

if ( processFeatures( f, feedback ) )
joinedCount++;

i++;
feedback->setProgress( i * step );
}

if ( !mDiscardNonMatching || mUnjoinedFeatures )

0 comments on commit 6aa20fb

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