Skip to content

Commit

Permalink
keep blue value as double, fixes #7107
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Apr 12, 2013
1 parent f40e3a6 commit 08afec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsmultibandcolorrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ QgsRasterBlock* QgsMultiBandColorRenderer::block( int bandNo, QgsRectangle cons
}
if ( !isNoData && mBlueBand > 0 )
{
blueVal = ( int )blueBlock->value( i );
blueVal = blueBlock->value( i );
if ( blueBlock->isNoData( i ) ) isNoData = true;
}
if ( isNoData )
Expand Down

0 comments on commit 08afec2

Please sign in to comment.