File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2725,6 +2725,7 @@ void QgsLinePatternFillSymbolLayer::applyPattern( const QgsSymbolV2RenderContext
2725
2725
QgsMapToPixel mtp ( context.renderContext ().mapToPixel ().mapUnitsPerPixel () / context.renderContext ().rasterScaleFactor () );
2726
2726
lineRenderContext.setMapToPixel ( mtp );
2727
2727
lineRenderContext.setForceVectorOutput ( false );
2728
+ lineRenderContext.setExpressionContext ( context.renderContext ().expressionContext () );
2728
2729
2729
2730
fillLineSymbol->startRender ( lineRenderContext, context.fields () );
2730
2731
@@ -3138,6 +3139,7 @@ void QgsPointPatternFillSymbolLayer::applyPattern( const QgsSymbolV2RenderContex
3138
3139
QgsMapToPixel mtp ( context.renderContext ().mapToPixel ().mapUnitsPerPixel () / context.renderContext ().rasterScaleFactor () );
3139
3140
pointRenderContext.setMapToPixel ( mtp );
3140
3141
pointRenderContext.setForceVectorOutput ( false );
3142
+ pointRenderContext.setExpressionContext ( context.renderContext ().expressionContext () );
3141
3143
3142
3144
mMarkerSymbol ->startRender ( pointRenderContext, context.fields () );
3143
3145
You can’t perform that action at this time.
0 commit comments