Skip to content
Permalink
Browse files

Fix crash when using line pattern fills

Line pattern fill was not calling stopRender on the line symbol!
  • Loading branch information
nyalldawson committed Jul 12, 2017
1 parent a87cc53 commit 6067d514dc2ed61dc0abb2c8fa648653347d8a86
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/symbology-ng/qgsfillsymbollayer.cpp
@@ -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

0 comments on commit 6067d51

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