Skip to content

Commit 529bf3f

Browse files
committed
Fix crash when using line pattern fills
Line pattern fill was not calling stopRender on the line symbol! (cherry-picked from 6067d51)
1 parent cbe7e3f commit 529bf3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/symbology-ng/qgsfillsymbollayerv2.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2835,8 +2835,12 @@ void QgsLinePatternFillSymbolLayer::startRender( QgsSymbolV2RenderContext& conte
28352835
prepareExpressions( context );
28362836
}
28372837

2838-
void QgsLinePatternFillSymbolLayer::stopRender( QgsSymbolV2RenderContext & )
2838+
void QgsLinePatternFillSymbolLayer::stopRender( QgsSymbolV2RenderContext &context )
28392839
{
2840+
if ( mFillLineSymbol )
2841+
{
2842+
mFillLineSymbol->stopRender( context.renderContext() );
2843+
}
28402844
}
28412845

28422846
QgsStringMap QgsLinePatternFillSymbolLayer::properties() const

0 commit comments

Comments
 (0)