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 8b245c0 commit 4344aa19134620d86298bdb43073d5ceba5cb82a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsmapcanvas.cpp
@@ -387,6 +387,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 4344aa1

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