Skip to content
Permalink
Browse files
Fix test for request size vs cache size
On behalf of Faunalia, sponsored by ENEL

(cherry-picked from 38a4aac)
  • Loading branch information
nyalldawson committed Nov 23, 2016
1 parent 9c64ad2 commit 0d6c2f0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -174,7 +174,7 @@ QgsVectorLayer* QgsVectorLayerCache::layer()
void QgsVectorLayerCache::requestCompleted( const QgsFeatureRequest& featureRequest, const QgsFeatureIds& fids )
{
// If a request is too large for the cache don't notify to prevent from indexing incomplete requests
if ( fids.count() < mCache.size() )
if ( fids.count() <= mCache.size() )
{
Q_FOREACH ( QgsAbstractCacheIndex* idx, mCacheIndices )
{

0 comments on commit 0d6c2f0

Please sign in to comment.