Contrast by detail levels - fixes to UI and precision in engine .

This commit is contained in:
michael
2013-12-20 12:00:16 -05:00
parent bbac811a44
commit d9821b6d06
2 changed files with 5 additions and 5 deletions

View File

@@ -218,7 +218,7 @@ void DirPyrEqualizer::lumaneutralPressed () {
void DirPyrEqualizer::lumacontrastPlusPressed () {
for (int i = 0; i < 5; i++) {
float inc = 0.05 * (4 - i);
float inc = 0.05 * (5 - i);
multiplier[i]->setValue(multiplier[i]->getValue() + inc);
adjusterChanged(multiplier[i], multiplier[i]->getValue());
}
@@ -228,7 +228,7 @@ void DirPyrEqualizer::lumacontrastPlusPressed () {
void DirPyrEqualizer::lumacontrastMinusPressed () {
for (int i = 0; i < 5; i++) {
float inc = -0.05 * (4 - i);
float inc = -0.05 * (5 - i);
multiplier[i]->setValue(multiplier[i]->getValue() + inc);
adjusterChanged(multiplier[i], multiplier[i]->getValue());
}