Skip to content
Permalink
Browse files
[composer] Fix selection drawn in maps if renderer has symbol level o…
…rder
  • Loading branch information
nyalldawson committed Apr 26, 2017
1 parent 46186f1 commit 883e51d6dbf8cb786c3cda95672e0a42fe0b205d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayerrenderer.cpp
@@ -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 ) );

0 comments on commit 883e51d

Please sign in to comment.