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 b407428 commit d7181105b5aab764307673ecc898ea17685a14a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayerrenderer.cpp
@@ -474,7 +474,7 @@ void QgsVectorLayerRenderer::drawRendererLevels( QgsFeatureIterator &fit )
return;
}

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

0 comments on commit d718110

Please sign in to comment.