Skip to content

Commit

Permalink
Partially revert "categorized renderer: also setup symbol render cont…
Browse files Browse the repository at this point in the history
…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 1bc0b36
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/core/symbology-ng/qgscategorizedsymbolrenderer.cpp
Expand Up @@ -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 )
Expand All @@ -418,12 +413,6 @@ void QgsCategorizedSymbolRenderer::stopRender( QgsRenderContext &context )
{
cat.symbol()->stopRender( context );
}

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

mExpression.reset();
}

Expand Down

0 comments on commit 1bc0b36

Please sign in to comment.