Skip to content
Permalink
Browse files

Handle raster layer's transparency band while rendering (fix #2491)

  • Loading branch information
brushtyler committed Oct 19, 2011
1 parent fb6d551 commit b62daee5cbd8684374642706ad0ab9290542b9ba
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 b62daee

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