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 b407428 commit d718110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerrenderer.cpp
Expand Up @@ -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 ) );

Expand Down

0 comments on commit d718110

Please sign in to comment.