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

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