Skip to content
Permalink
Browse files

Fix #9641 (broken contrast enhancement)

  • Loading branch information
wonder-sk committed Feb 25, 2014
1 parent d790bc0 commit 71a799f0c19994444f1e05e7b49bae378f215a70
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgscontrastenhancement.cpp
@@ -63,7 +63,7 @@ QgsContrastEnhancement::QgsContrastEnhancement( const QgsContrastEnhancement& ce
mMaximumValue = ce.mMaximumValue;
mRasterDataTypeRange = ce.mRasterDataTypeRange;

mLookupTableOffset = mMinimumValue * -1;
mLookupTableOffset = minimumValuePossible( mRasterDataType ) * -1;

// setContrastEnhancementAlgorithm sets also QgsContrastEnhancementFunction
setContrastEnhancementAlgorithm( ce.mContrastEnhancementAlgorithm, false );

0 comments on commit 71a799f

Please sign in to comment.
You can’t perform that action at this time.