Skip to content
Permalink
Browse files

Partially revert "categorized renderer: also setup symbol render cont…

…ext for hashed symbols"

This partially reverts commit c7c5244.

Causes a race condition which results in random crashes while
using the categorised symbol renderer.

The intent behind the original commit is unknown
  • Loading branch information
nyalldawson committed Jul 11, 2017
1 parent fabf32e commit 1bc0b365d600109ec389b97491847f9b4ed0aa60
Showing with 0 additions and 11 deletions.
  1. +0 −11 src/core/symbology-ng/qgscategorizedsymbolrenderer.cpp
@@ -405,11 +405,6 @@ void QgsCategorizedSymbolRenderer::startRender( QgsRenderContext &context, const
{
cat.symbol()->startRender( context, fields );
}

Q_FOREACH ( QgsSymbol *sym, mSymbolHash.values() )
{
sym->startRender( context, fields );
}
}

void QgsCategorizedSymbolRenderer::stopRender( QgsRenderContext &context )
@@ -418,12 +413,6 @@ void QgsCategorizedSymbolRenderer::stopRender( QgsRenderContext &context )
{
cat.symbol()->stopRender( context );
}

Q_FOREACH ( QgsSymbol *sym, mSymbolHash.values() )
{
sym->stopRender( context );
}

mExpression.reset();
}

0 comments on commit 1bc0b36

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