Skip to content

Commit

Permalink
fixed raster paletted renderer for no data, fixes #7139
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 15, 2013
1 parent c3bb8db commit 02ab027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/raster/qgspalettedrasterrenderer.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 02ab027

Please sign in to comment.