Skip to content

Commit

Permalink
Flag another transform as ballpark appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 29, 2020
1 parent 17c8a59 commit b250063
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -393,6 +393,7 @@ void QgsMapCanvas::setDestinationCrs( const QgsCoordinateReferenceSystem &crs )
if ( !mSettings.visibleExtent().isEmpty() )
{
QgsCoordinateTransform transform( mSettings.destinationCrs(), crs, QgsProject::instance() );
transform.setBallparkTransformsAreAppropriate( true );
try
{
rect = transform.transformBoundingBox( mSettings.visibleExtent() );
Expand Down

0 comments on commit b250063

Please sign in to comment.