Skip to content
Permalink
Browse files

use white color for raster nodata

  • Loading branch information
blazek committed Nov 30, 2013
1 parent 7d926a0 commit 5181cbed155fc31b71d675b948b2caf242e2cbcf
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/raster/qgsrasterrenderer.cpp
@@ -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 )

0 comments on commit 5181cbe

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