Skip to content
Permalink
Browse files

Fix crash when using line pattern fills

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 529bf3fb506549d1fdae81c494bd4e3f655e02e1
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/symbology-ng/qgsfillsymbollayerv2.cpp
@@ -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

0 comments on commit 529bf3f

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