Skip to content
Permalink
Browse files

Fix data defined overrides for sub symbols in line and marker fill

are not being applied (fix #13707)

(cherry-picked from 2ac5933)
  • Loading branch information
nyalldawson committed Nov 18, 2015
1 parent 49c243c commit 6bb6929c67f824c81fa01e75d5d1da742153f253
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/symbology-ng/qgsfillsymbollayerv2.cpp
@@ -2725,6 +2725,7 @@ void QgsLinePatternFillSymbolLayer::applyPattern( const QgsSymbolV2RenderContext
QgsMapToPixel mtp( context.renderContext().mapToPixel().mapUnitsPerPixel() / context.renderContext().rasterScaleFactor() );
lineRenderContext.setMapToPixel( mtp );
lineRenderContext.setForceVectorOutput( false );
lineRenderContext.setExpressionContext( context.renderContext().expressionContext() );

fillLineSymbol->startRender( lineRenderContext, context.fields() );

@@ -3138,6 +3139,7 @@ void QgsPointPatternFillSymbolLayer::applyPattern( const QgsSymbolV2RenderContex
QgsMapToPixel mtp( context.renderContext().mapToPixel().mapUnitsPerPixel() / context.renderContext().rasterScaleFactor() );
pointRenderContext.setMapToPixel( mtp );
pointRenderContext.setForceVectorOutput( false );
pointRenderContext.setExpressionContext( context.renderContext().expressionContext() );

mMarkerSymbol->startRender( pointRenderContext, context.fields() );

0 comments on commit 6bb6929

Please sign in to comment.
You can’t perform that action at this time.