recent commit broke invert option for sequencer lift.

This commit is contained in:
Campbell Barton 2010-07-05 14:53:11 +00:00
parent 63335f2d10
commit aea7ea5b30

@ -1498,10 +1498,11 @@ static StripColorBalance calc_cb(StripColorBalance * cb_)
}
if(cb.flag & SEQ_COLOR_BALANCE_INVERSE_LIFT) {
negate_v3(cb.lift);
for (c = 0; c < 3; c++) {
cb.lift[c] = 2.0f - cb.lift[c];
}
}
if (cb.flag & SEQ_COLOR_BALANCE_INVERSE_GAIN) {
for (c = 0; c < 3; c++) {
if (cb.gain[c] != 0.0) {