[QGIS Commit] r8324 -
branches/rendercontext-branch/src/core/symbology
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Apr 7 05:20:31 EDT 2008
Author: mhugent
Date: 2008-04-07 05:20:31 -0400 (Mon, 07 Apr 2008)
New Revision: 8324
Modified:
branches/rendercontext-branch/src/core/symbology/qgssymbol.cpp
Log:
Use image cache to enhance performance
Modified: branches/rendercontext-branch/src/core/symbology/qgssymbol.cpp
===================================================================
--- branches/rendercontext-branch/src/core/symbology/qgssymbol.cpp 2008-04-07 08:31:54 UTC (rev 8323)
+++ branches/rendercontext-branch/src/core/symbology/qgssymbol.cpp 2008-04-07 09:20:31 UTC (rev 8324)
@@ -267,7 +267,7 @@
QImage QgsSymbol::getCachedPointSymbolAsImage( double widthScale,
bool selected, QColor selectionColor )
{
- if ( !mCacheUpToDate
+ if ( !mCacheUpToDate2
|| ( selected && mSelectionColor != selectionColor ) )
{
if ( selected ) {
More information about the QGIS-commit
mailing list