We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b41ce99 commit d39c80cCopy full SHA for d39c80c
src/core/raster/qgsrasterlayer.cpp
@@ -379,7 +379,7 @@ dataProvider(0)
379
{
380
userDefinedColorMinMax = false; //defaults needed to bypass stretch
381
userDefinedGrayMinMax = false;
382
- setColorScalingAlgorithm(QgsRasterLayer::NO_STRETCH); //defaults needed to bypass stretch
+ setColorScalingAlgorithm(QgsRasterLayer::STRETCH_TO_MINMAX);
383
384
// Initialise the affine transform matrix
385
adfGeoTransform[0] = 0;
0 commit comments