Skip to content

Commit c3819e8

Browse files
author
Hugo Mercier
authoredJan 31, 2019
Merge pull request #9036 from mhugo/fix_19909
Fix vertex marker display for multipolygon (fixes #19909)
2 parents 679b60e + 389149c commit c3819e8

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed
 

‎src/core/symbology/qgssymbol.cpp

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -936,14 +936,7 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont
936936

937937
if ( drawVertexMarker && !usingSegmentizedGeometry )
938938
{
939-
if ( i == 0 )
940-
{
941-
markers = pts;
942-
}
943-
else
944-
{
945-
markers << pts;
946-
}
939+
markers << pts;
947940
}
948941
}
949942
}
@@ -998,14 +991,7 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont
998991

999992
if ( drawVertexMarker && !usingSegmentizedGeometry )
1000993
{
1001-
if ( i == 0 )
1002-
{
1003-
markers = pts;
1004-
}
1005-
else
1006-
{
1007-
markers << pts;
1008-
}
994+
markers << pts;
1009995

1010996
Q_FOREACH ( const QPolygonF &hole, holes )
1011997
{

0 commit comments

Comments
 (0)
Please sign in to comment.