mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix test for request size vs cache size
On behalf of Faunalia, sponsored by ENEL
This commit is contained in:
parent
8908eea43b
commit
38a4aac971
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user