Skip to content

Commit

Permalink
[composer] Fix selection drawn in maps if renderer has symbol level o…
Browse files Browse the repository at this point in the history
…rder
  • Loading branch information
nyalldawson committed Apr 26, 2017
1 parent 46186f1 commit 883e51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerrenderer.cpp
Expand Up @@ -495,7 +495,7 @@ void QgsVectorLayerRenderer::drawRendererV2Levels( QgsFeatureIterator& fit )
return;
}

bool sel = mSelectedFeatureIds.contains( fit->id() );
bool sel = mContext.showSelection() && mSelectedFeatureIds.contains( fet.id() );
// maybe vertex markers should be drawn only during the last pass...
bool drawMarker = ( mDrawVertexMarkers && mContext.drawEditingInformation() && ( !mVertexMarkerOnlyForSelection || sel ) );

Expand Down

0 comments on commit 883e51d

Please sign in to comment.