Skip to content

Commit f6b8694

Browse files
author
Hugo Mercier
authoredJan 22, 2019
Merge pull request #8937 from mhugo/release-3_4
IndexExtent second fix
2 parents e1146df + c4e434e commit f6b8694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgssnappingutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ void QgsSnappingUtils::prepareIndex( const QList<LayerAndAreaOfInterest> &layers
373373

374374
if ( mStrategy == IndexExtent )
375375
{
376-
QgsRectangle rect( mMapSettings.extent() );
376+
QgsRectangle rect( mMapSettings.visibleExtent() );
377377
loc->setExtent( &rect );
378378
loc->init();
379379
}

0 commit comments

Comments
 (0)
Please sign in to comment.