Skip to content

Commit

Permalink
use white color for raster nodata
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Nov 30, 2013
1 parent 7d926a0 commit 5181cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/raster/qgsrasterrenderer.cpp
Expand Up @@ -27,7 +27,9 @@
#define tr( sourceText ) QCoreApplication::translate ( "QgsRasterRenderer", sourceText )

// Changing RGB components of NODATA_COLOR may break tests
const QRgb QgsRasterRenderer::NODATA_COLOR = qRgba( 0, 0, 0, 0 );
// (changed 2013-11-30 from 0,0,0,0 to 255,255,255,0)
// kepp NODATA_COLOR white, see #9101
const QRgb QgsRasterRenderer::NODATA_COLOR = qRgba( 255, 255, 255, 0 );

QgsRasterRenderer::QgsRasterRenderer( QgsRasterInterface* input, const QString& type )
: QgsRasterInterface( input )
Expand Down

0 comments on commit 5181cbe

Please sign in to comment.