Skip to content
Permalink
Browse files

fixed raster paletted renderer for no data, fixes #7139

  • Loading branch information
blazek committed May 15, 2013
1 parent c3bb8db commit 02ab02746adb66adf5f35be5bf51097ebf0f8bc3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/raster/qgspalettedrasterrenderer.cpp
@@ -191,6 +191,7 @@ QgsRasterBlock * QgsPalettedRasterRenderer::block( int bandNo, QgsRectangle con
if ( inputBlock->isNoData( i ) )
{
outputData[i] = myDefaultColor;
continue;
}
int val = ( int ) inputBlock->value( i );
if ( !hasTransparency )

0 comments on commit 02ab027

Please sign in to comment.
You can’t perform that action at this time.