Skip to content
Permalink
Browse files
Small fix for single band gray renderer
  • Loading branch information
mhugent committed Jan 8, 2012
1 parent 3c7cebe commit 9728e9aab8c1cdcacee89869714642e7c7a2f033
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
@@ -2657,8 +2657,8 @@ void QgsRasterLayer::setDataProvider( QString const & provider,
mGreenBandName = TRSTRING_NOT_SET; //sensible default
mBlueBandName = TRSTRING_NOT_SET; //sensible default
mTransparencyBandName = TRSTRING_NOT_SET; //sensible default
mDrawingStyle = SingleBandGray; //sensible default
mGrayBandName = bandName( 1 );
setDrawingStyle( SingleBandGray ); //sensible default

// read standard deviations
if ( mContrastEnhancementAlgorithm == QgsContrastEnhancement::StretchToMinimumMaximum )

0 comments on commit 9728e9a

Please sign in to comment.