Skip to content

Commit d39c80c

Browse files
author
timlinux
committedSep 27, 2007
Fixed raster scaling issue (thanks Peter Ersts for the fix!).
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_9_0@7222 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b41ce99 commit d39c80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/raster/qgsrasterlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ dataProvider(0)
379379
{
380380
userDefinedColorMinMax = false; //defaults needed to bypass stretch
381381
userDefinedGrayMinMax = false;
382-
setColorScalingAlgorithm(QgsRasterLayer::NO_STRETCH); //defaults needed to bypass stretch
382+
setColorScalingAlgorithm(QgsRasterLayer::STRETCH_TO_MINMAX);
383383

384384
// Initialise the affine transform matrix
385385
adfGeoTransform[0] = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.