forked from bartvdbraak/blender
recent commit broke invert option for sequencer lift.
This commit is contained in:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user