Skip to content

Commit

Permalink
Make map renderer less debug noisy
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 31, 2018
1 parent 6ec4d08 commit e73161f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsmaprendererjob.cpp
Expand Up @@ -167,11 +167,11 @@ bool QgsMapRendererJob::reprojectToLayerExtent( const QgsMapLayer *ml, const Qgs
QgsPointXY ur = ct.transform( extent.xMaximum(), extent.yMaximum(),
QgsCoordinateTransform::ReverseTransform );

QgsDebugMsg( QString( "in:%1 (ll:%2 ur:%3)" ).arg( extent.toString(), ll.toString(), ur.toString() ) );
QgsDebugMsgLevel( QString( "in:%1 (ll:%2 ur:%3)" ).arg( extent.toString(), ll.toString(), ur.toString() ), 4 );

extent = ct.transformBoundingBox( extent, QgsCoordinateTransform::ReverseTransform );

QgsDebugMsg( QString( "out:%1 (w:%2 h:%3)" ).arg( extent.toString() ).arg( extent.width() ).arg( extent.height() ) );
QgsDebugMsgLevel( QString( "out:%1 (w:%2 h:%3)" ).arg( extent.toString() ).arg( extent.width() ).arg( extent.height() ), 4 );

if ( ll.x() > ur.x() )
{
Expand Down

0 comments on commit e73161f

Please sign in to comment.