mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
svg cache lookup fix, fixes #9959
This commit is contained in:
parent
81293dbe44
commit
fc8f15a4e7
@ -443,7 +443,7 @@ QgsSvgCacheEntry* QgsSvgCache::cacheEntry( const QString& file, double size, con
|
||||
for ( ; entryIt != entries.end(); ++entryIt )
|
||||
{
|
||||
QgsSvgCacheEntry* cacheEntry = *entryIt;
|
||||
if ( cacheEntry->file == file && qgsDoubleNear( cacheEntry->size, size ) && cacheEntry->fill == fill && cacheEntry->outline == outline &&
|
||||
if ( qgsDoubleNear( cacheEntry->size, size ) && cacheEntry->fill == fill && cacheEntry->outline == outline &&
|
||||
cacheEntry->outlineWidth == outlineWidth && cacheEntry->widthScaleFactor == widthScaleFactor && cacheEntry->rasterScaleFactor == rasterScaleFactor )
|
||||
{
|
||||
currentEntry = cacheEntry;
|
||||
|
Loading…
x
Reference in New Issue
Block a user