File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2713,7 +2713,7 @@ void QgsRasterLayerProperties::on_pbtnLoadColorMapFromBand_clicked()
2713
2713
if ( mRasterLayer ->readColorTable ( cboxColorMapBand->currentIndex () + 1 , &myColorRampList ) )
2714
2714
{
2715
2715
populateColorMapTable ( myColorRampList );
2716
- cboxColorInterpolation->setCurrentIndex ( cboxColorInterpolation->findText ( tr ( " Exact " ) ) );
2716
+ cboxColorInterpolation->setCurrentIndex ( cboxColorInterpolation->findText ( tr ( " Linear " ) ) );
2717
2717
QgsDebugMsg ( " Color map loaded" );
2718
2718
}
2719
2719
else
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ bool QgsRasterLayer::readFile( QString const & fileName )
565
565
// Set up a new color ramp shader
566
566
setColorShadingAlgorithm ( COLOR_RAMP );
567
567
QgsColorRampShader* myColorRampShader = ( QgsColorRampShader* ) mRasterShader ->getRasterShaderFunction ();
568
- myColorRampShader->setColorRampType ( QgsColorRampShader::EXACT );
568
+ myColorRampShader->setColorRampType ( QgsColorRampShader::INTERPOLATED );
569
569
myColorRampShader->setColorRampItemList ( *getColorTable (1 ) );
570
570
}
571
571
else if ( rasterLayerType == MULTIBAND )
You can’t perform that action at this time.
0 commit comments