Skip to content
Permalink
Browse files

Fix vertex marker display for multipolygon (fixes #19909)

The i == 0 test was wrong, and a test is actually not needed.
  • Loading branch information
mhugo committed Jan 30, 2019
1 parent 3769faa commit 389149c8dce8d84cdd74dbc05ca5f22e451dac8a
Showing with 2 additions and 16 deletions.
  1. +2 −16 src/core/symbology/qgssymbol.cpp
@@ -936,14 +936,7 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont

if ( drawVertexMarker && !usingSegmentizedGeometry )
{
if ( i == 0 )
{
markers = pts;
}
else
{
markers << pts;
}
markers << pts;
}
}
}
@@ -998,14 +991,7 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont

if ( drawVertexMarker && !usingSegmentizedGeometry )
{
if ( i == 0 )
{
markers = pts;
}
else
{
markers << pts;
}
markers << pts;

Q_FOREACH ( const QPolygonF &hole, holes )
{

0 comments on commit 389149c

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