Skip to content
Permalink
Browse files
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
  • Loading branch information
timlinux committed Sep 27, 2007
1 parent b41ce99 commit d39c80c2860556ee52009863f13c9a9d80a727cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
@@ -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;

0 comments on commit d39c80c

Please sign in to comment.