Skip to content

Commit

Permalink
Fix preview symbol when offsetting point symbols isn't shown correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 21, 2020
1 parent 00a3a6b commit 62409b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgspointmarkeritem.cpp
Expand Up @@ -51,6 +51,7 @@ QgsRenderContext QgsMapCanvasSymbolItem::renderContext( QPainter *painter )
}
//context << QgsExpressionContextUtils::layerScope( mLayer );
context.setFeature( mFeature );
context.setFields( mFeature.fields() );

//setup render context
QgsMapSettings ms = mMapCanvas->mapSettings();
Expand Down

0 comments on commit 62409b9

Please sign in to comment.