Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IndexExtent second fix
Replace extent() by visibleExtent().

Forgotten commit backported from master
  • Loading branch information
Hugo Mercier committed Jan 22, 2019
1 parent 69b199a commit c4e434e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgssnappingutils.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit c4e434e

Please sign in to comment.