Skip to content

Commit 02ab027

Browse files
committedMay 15, 2013
fixed raster paletted renderer for no data, fixes #7139
1 parent c3bb8db commit 02ab027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/core/raster/qgspalettedrasterrenderer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ QgsRasterBlock * QgsPalettedRasterRenderer::block( int bandNo, QgsRectangle con
191191
if ( inputBlock->isNoData( i ) )
192192
{
193193
outputData[i] = myDefaultColor;
194+
continue;
194195
}
195196
int val = ( int ) inputBlock->value( i );
196197
if ( !hasTransparency )

0 commit comments

Comments
 (0)