Skip to content

Commit

Permalink
save used contrast enhancement algorithm in private class member (fol…
Browse files Browse the repository at this point in the history
…low up 5ecb268)
  • Loading branch information
alexbruy committed Mar 14, 2013
1 parent fac2bd7 commit 4af91c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -1771,6 +1771,8 @@ void QgsRasterLayer::setContrastEnhancementAlgorithm( QgsContrastEnhancement::Co
return;
}

mContrastEnhancementAlgorithm = theAlgorithm;

QList<int> myBands;
QList<QgsContrastEnhancement*> myEnhancements;
QgsSingleBandGrayRenderer* myGrayRenderer = 0;
Expand Down

0 comments on commit 4af91c4

Please sign in to comment.