== Sequencer / Color balance ==
Make the color balance inner working more accurate in the byte -> byte case, probably also fixing (can't check I'm on 32bit) the bug mentioned on yellow's blog: http://blendervse.wordpress.com/2012/04/02/waiving-the-fullrange-flag/
This commit is contained in:
@@ -1553,7 +1553,7 @@ static void make_cb_table_byte(float lift, float gain, float gamma,
|
||||
for (y = 0; y < 256; y++) {
|
||||
float v = color_balance_fl((float)y * (1.0f / 255.0f), lift, gain, gamma, mul);
|
||||
CLAMP(v, 0.0f, 1.0f);
|
||||
table[y] = v * 255;
|
||||
table[y] = round(v * 255);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user