Skip to content
Permalink
Browse files

Fix unjoinable features can get incorrectly added to both outputs whe…

…n a separate unjoined feature output is set
  • Loading branch information
nyalldawson committed Jan 2, 2020
1 parent 75cf5f2 commit 16c83e061b8cd2fca98e619d18044d9c44eb537f
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/analysis/processing/qgsalgorithmjoinbylocation.cpp
@@ -218,7 +218,8 @@ QVariantMap QgsJoinByLocationAlgorithm::processAlgorithm( const QVariantMap &par
{
if ( feedback->isCanceled() )
break;
if ( mJoinedFeatures )

if ( mJoinedFeatures && !mDiscardNonMatching )
{
QgsAttributes attributes = f2.attributes();
attributes.append( emptyAttributes );

0 comments on commit 16c83e0

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