Skip to content

Commit fc8f15a

Browse files
committed
svg cache lookup fix, fixes #9959
1 parent 81293db commit fc8f15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/symbology-ng/qgssvgcache.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ QgsSvgCacheEntry* QgsSvgCache::cacheEntry( const QString& file, double size, con
443443
for ( ; entryIt != entries.end(); ++entryIt )
444444
{
445445
QgsSvgCacheEntry* cacheEntry = *entryIt;
446-
if ( cacheEntry->file == file && qgsDoubleNear( cacheEntry->size, size ) && cacheEntry->fill == fill && cacheEntry->outline == outline &&
446+
if ( qgsDoubleNear( cacheEntry->size, size ) && cacheEntry->fill == fill && cacheEntry->outline == outline &&
447447
cacheEntry->outlineWidth == outlineWidth && cacheEntry->widthScaleFactor == widthScaleFactor && cacheEntry->rasterScaleFactor == rasterScaleFactor )
448448
{
449449
currentEntry = cacheEntry;

0 commit comments

Comments
 (0)