Fix T47973: Render stamp ignores font alpha
This commit is contained in:
parent
6a099b0c45
commit
240adb90a5
@ -1992,7 +1992,7 @@ void BKE_image_stamp_buf(
|
||||
BLF_wordwrap(mono, width - (BUFF_MARGIN_X * 2));
|
||||
|
||||
BLF_buffer(mono, rectf, rect, width, height, channels, display);
|
||||
BLF_buffer_col(mono, scene->r.fg_stamp[0], scene->r.fg_stamp[1], scene->r.fg_stamp[2], 1.0);
|
||||
BLF_buffer_col(mono, UNPACK4(scene->r.fg_stamp));
|
||||
pad = BLF_width_max(mono);
|
||||
|
||||
/* use 'h_fixed' rather than 'h', aligns better */
|
||||
|
Loading…
Reference in New Issue
Block a user