Skip to content

Commit

Permalink
Fix data defined overrides for sub symbols in line and marker fill
Browse files Browse the repository at this point in the history
are not being applied (fix #13707)
  • Loading branch information
nyalldawson committed Nov 3, 2015
1 parent 60c591d commit 2ac5933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/symbology-ng/qgsfillsymbollayerv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );

Expand Down Expand Up @@ -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() );

Expand Down

0 comments on commit 2ac5933

Please sign in to comment.