Skip to content
Permalink
Browse files

IndexExtent second fix

Replace extent() by visibleExtent().

Forgotten commit backported from master
  • Loading branch information
Hugo Mercier
Hugo Mercier committed Jan 22, 2019
1 parent 69b199a commit c4e434e1587a70764ec3d510148ad1c126df7d25
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgssnappingutils.cpp
@@ -373,7 +373,7 @@ void QgsSnappingUtils::prepareIndex( const QList<LayerAndAreaOfInterest> &layers

if ( mStrategy == IndexExtent )
{
QgsRectangle rect( mMapSettings.extent() );
QgsRectangle rect( mMapSettings.visibleExtent() );
loc->setExtent( &rect );
loc->init();
}

0 comments on commit c4e434e

Please sign in to comment.
You can’t perform that action at this time.