Skip to content
Permalink
Browse files
Handle raster layer's transparency band while rendering (fix #2491)
  • Loading branch information
brushtyler authored and mach0 committed Nov 13, 2011
1 parent d84a917 commit 84e7626b22bcef444a292270cf56cefc4a811403
Showing with 220 additions and 25 deletions.
  1. +2 −0 src/app/qgsrasterlayerproperties.cpp
  2. +218 −25 src/core/raster/qgsrasterlayer.cpp
@@ -178,6 +178,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 84e7626

Please sign in to comment.