]> git.sesse.net Git - nageru/commit
Make the white balance picker more robust.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 26 Apr 2018 20:20:12 +0000 (22:20 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 26 Apr 2018 20:20:12 +0000 (22:20 +0200)
commit86520183fc1bb7aafb65b766e6f31b722c77a640
tree0ad4757054d2de98ba82f5cd3cc73c1f1d3ec2ec
parent51c77a0d3c5499c69d1e5b9224dcdf3d3eec22d6
Make the white balance picker more robust.

Earlier the change to neutral white balance could go out of sync
with when we wanted to sample, so we could come too early or too
late and get an already-corrected value.

This is also helped by the previous theme fixes for storing the
neutral_colors array as an upvalue in prepare_chain().
glwidget.cpp
glwidget.h
mainwindow.cpp
mainwindow.h
mixer.cpp
mixer.h