Skip to content

Commit 08afec2

Browse files
committed
keep blue value as double, fixes #7107
1 parent f40e3a6 commit 08afec2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/core/raster/qgsmultibandcolorrenderer.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ QgsRasterBlock* QgsMultiBandColorRenderer::block( int bandNo, QgsRectangle cons
256256
}
257257
if ( !isNoData && mBlueBand > 0 )
258258
{
259-
blueVal = ( int )blueBlock->value( i );
259+
blueVal = blueBlock->value( i );
260260
if ( blueBlock->isNoData( i ) ) isNoData = true;
261261
}
262262
if ( isNoData )

0 commit comments

Comments
 (0)