Skip to content

Commit c4e434e

Browse files
author
Hugo Mercier
committedJan 22, 2019
IndexExtent second fix
Replace extent() by visibleExtent(). Forgotten commit backported from master
1 parent 69b199a commit c4e434e

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.