Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove per-pixel debug msg slowing down reprojection (fixes #15796)
Even at level 5, the debug string would still be built and thrown away,
and affects both debug builds and RelWithDebugInfo (used for windows -dev builds).
  • Loading branch information
wonder-sk committed Nov 4, 2016
1 parent 16719b3 commit db0e7d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/raster/qgsrasterprojector.cpp
Expand Up @@ -918,7 +918,6 @@ QgsRasterBlock * QgsRasterProjector::block2( int bandNo, QgsRectangle const & e
if ( !inside ) continue; // we have everything set to no data

qgssize srcIndex = static_cast< qgssize >( srcRow ) * pd.srcCols() + srcCol;
QgsDebugMsgLevel( QString( "row = %1 col = %2 srcRow = %3 srcCol = %4" ).arg( i ).arg( j ).arg( srcRow ).arg( srcCol ), 5 );

// isNoData() may be slow so we check doNoData first
if ( doNoData && inputBlock->isNoData( srcRow, srcCol ) )
Expand Down

0 comments on commit db0e7d5

Please sign in to comment.