Skip to content

Commit

Permalink
Fix crash when using line pattern fills
Browse files Browse the repository at this point in the history
Line pattern fill was not calling stopRender on the line symbol!

(cherry-picked from 6067d51)
  • Loading branch information
nyalldawson committed Jul 14, 2017
1 parent cbe7e3f commit 529bf3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/symbology-ng/qgsfillsymbollayerv2.cpp
Expand Up @@ -2835,8 +2835,12 @@ void QgsLinePatternFillSymbolLayer::startRender( QgsSymbolV2RenderContext& conte
prepareExpressions( context );
}

void QgsLinePatternFillSymbolLayer::stopRender( QgsSymbolV2RenderContext & )
void QgsLinePatternFillSymbolLayer::stopRender( QgsSymbolV2RenderContext &context )
{
if ( mFillLineSymbol )
{
mFillLineSymbol->stopRender( context.renderContext() );
}
}

QgsStringMap QgsLinePatternFillSymbolLayer::properties() const
Expand Down

0 comments on commit 529bf3f

Please sign in to comment.