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!
  • Loading branch information
nyalldawson committed Jul 12, 2017
1 parent a87cc53 commit 6067d51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/symbology-ng/qgsfillsymbollayer.cpp
Expand Up @@ -2800,8 +2800,12 @@ void QgsLinePatternFillSymbolLayer::startRender( QgsSymbolRenderContext &context
}
}

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

QgsStringMap QgsLinePatternFillSymbolLayer::properties() const
Expand Down

0 comments on commit 6067d51

Please sign in to comment.