Fix T47973: Render stamp ignores font alpha

This commit is contained in:
Campbell Barton 2016-03-29 00:25:07 +11:00
parent 6a099b0c45
commit 240adb90a5
Notes: blender-bot 2023-02-14 08:03:03 +01:00
Referenced by issue #47973, Stamped Metadata Text Color does not respond to alpha transparency
1 changed files with 1 additions and 1 deletions

View File

@ -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 */