Skip to content

Commit 7db483d

Browse files
committed
Partially revert "categorized renderer: also setup symbol render context 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
1 parent 348088e commit 7db483d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -445,12 +445,6 @@ void QgsCategorizedSymbolRendererV2::startRender( QgsRenderContext& context, con
445445
mTempSymbols[ cat.symbol()] = tempSymbol;
446446
}
447447
}
448-
449-
Q_FOREACH ( QgsSymbolV2 *symbol, mSymbolHash.values() )
450-
{
451-
symbol->startRender( context, &fields );
452-
}
453-
454448
return;
455449
}
456450

@@ -461,11 +455,6 @@ void QgsCategorizedSymbolRendererV2::stopRender( QgsRenderContext& context )
461455
cat.symbol()->stopRender( context );
462456
}
463457

464-
Q_FOREACH ( QgsSymbolV2 *symbol, mSymbolHash.values() )
465-
{
466-
symbol->stopRender( context );
467-
}
468-
469458
// cleanup mTempSymbols
470459
QHash<QgsSymbolV2*, QgsSymbolV2*>::const_iterator it2 = mTempSymbols.constBegin();
471460
for ( ; it2 != mTempSymbols.constEnd(); ++it2 )

0 commit comments

Comments
 (0)