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.

(cherry picked from commit 389149c)
  • Loading branch information
mhugo authored and nyalldawson committed Jan 30, 2019
1 parent e1febd0 commit 9abcd0e13e2751cdd3edd363dc9311bbdfb0ee19
Showing with 2 additions and 16 deletions.
  1. +2 −16 src/core/symbology/qgssymbol.cpp
@@ -927,14 +927,7 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont

if ( drawVertexMarker && !usingSegmentizedGeometry )
{
if ( i == 0 )
{
markers = pts;
}
else
{
markers << pts;
}
markers << pts;
}
}
}
@@ -989,14 +982,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 9abcd0e

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