Skip to content

Commit

Permalink
Flag another transform as ballpark appropriate
Browse files Browse the repository at this point in the history
(cherry picked from commit b250063)
  • Loading branch information
nyalldawson committed Apr 30, 2020
1 parent baee39f commit 49eb964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -388,6 +388,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 49eb964

Please sign in to comment.