Skip to content
Permalink
Browse files

Flag another transform as ballpark appropriate

(cherry picked from commit b250063)
  • Loading branch information
nyalldawson committed Apr 29, 2020
1 parent baee39f commit 49eb964e35f56e850f0992fc9425a863cb9bb809
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsmapcanvas.cpp
@@ -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() );

0 comments on commit 49eb964

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