Skip to content

Commit db0e7d5

Browse files
committedNov 4, 2016
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).
1 parent 16719b3 commit db0e7d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/core/raster/qgsrasterprojector.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,6 @@ QgsRasterBlock * QgsRasterProjector::block2( int bandNo, QgsRectangle const & e
918918
if ( !inside ) continue; // we have everything set to no data
919919

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.