Skip to content

Commit

Permalink
Fixed raster scaling issue (thanks Peter Ersts for the fix!).
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_9_0@7222 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Sep 27, 2007
1 parent b41ce99 commit d39c80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -379,7 +379,7 @@ dataProvider(0)
{
userDefinedColorMinMax = false; //defaults needed to bypass stretch
userDefinedGrayMinMax = false;
setColorScalingAlgorithm(QgsRasterLayer::NO_STRETCH); //defaults needed to bypass stretch
setColorScalingAlgorithm(QgsRasterLayer::STRETCH_TO_MINMAX);

// Initialise the affine transform matrix
adfGeoTransform[0] = 0;
Expand Down

0 comments on commit d39c80c

Please sign in to comment.