Skip to content
Permalink
Browse files

Flag another transform as ballpark appropriate

  • Loading branch information
nyalldawson committed Apr 29, 2020
1 parent 17c8a59 commit b250063076e782aeb9333327e4cf49cf81292a70
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsmapcanvas.cpp
@@ -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() );

0 comments on commit b250063

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