mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
Fix disconnected fill outlines in preview icons when outline
has a line offset set
This commit is contained in:
parent
f7c29d7fc5
commit
2b1cbf4f60
@ -466,6 +466,7 @@ void QgsSymbol::drawPreviewIcon( QPainter *painter, QSize size, QgsRenderContext
|
||||
QgsRenderContext context = customContext ? *customContext : QgsRenderContext::fromQPainter( painter );
|
||||
context.setForceVectorOutput( true );
|
||||
QgsSymbolRenderContext symbolContext( context, outputUnit(), mOpacity, false, mRenderHints, nullptr, QgsFields(), mapUnitScale() );
|
||||
symbolContext.setOriginalGeometryType( mType == Fill ? QgsWkbTypes::PolygonGeometry : QgsWkbTypes::UnknownGeometry );
|
||||
|
||||
Q_FOREACH ( QgsSymbolLayer *layer, mLayers )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user