Skip to content
Permalink
Browse files

Merge pull request #52 from brushtyler/raster-transparency

[BACKPORT] Handle raster layer's transparency band while rendering (fix #2491)
  • Loading branch information
timlinux committed Oct 20, 2011
2 parents 5e45bda + b62daee commit b0112f1c427d38bf7996a86b07e9f056eb41b177
Showing with 220 additions and 25 deletions.
  1. +2 −0 src/app/qgsrasterlayerproperties.cpp
  2. +218 −25 src/core/raster/qgsrasterlayer.cpp
@@ -176,6 +176,8 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
cboGreen->addItem( myRasterBandName );
cboBlue->addItem( myRasterBandName );
cboxColorMapBand->addItem( myRasterBandName );
cboxTransparencyBand->addItem( myRasterBandName );
cboxTransparencyBand->setEnabled( true );
}

cboRed->addItem( TRSTRING_NOT_SET );

0 comments on commit b0112f1

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