mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Merge pull request #9036 from mhugo/fix_19909
Fix vertex marker display for multipolygon (fixes #19909)
This commit is contained in:
commit
c3819e88dc
@ -935,18 +935,11 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont
|
||||
static_cast<QgsLineSymbol *>( this )->renderPolyline( pts, &feature, context, layer, selected );
|
||||
|
||||
if ( drawVertexMarker && !usingSegmentizedGeometry )
|
||||
{
|
||||
if ( i == 0 )
|
||||
{
|
||||
markers = pts;
|
||||
}
|
||||
else
|
||||
{
|
||||
markers << pts;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case QgsWkbTypes::MultiSurface:
|
||||
@ -997,15 +990,8 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont
|
||||
static_cast<QgsFillSymbol *>( this )->renderPolygon( pts, ( !holes.isEmpty() ? &holes : nullptr ), &feature, context, layer, selected );
|
||||
|
||||
if ( drawVertexMarker && !usingSegmentizedGeometry )
|
||||
{
|
||||
if ( i == 0 )
|
||||
{
|
||||
markers = pts;
|
||||
}
|
||||
else
|
||||
{
|
||||
markers << pts;
|
||||
}
|
||||
|
||||
Q_FOREACH ( const QPolygonF &hole, holes )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user