diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-28 16:25:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-28 16:26:55 +0300 |
commit | 240adb90a5d43642da942a9aa1562b346ba73a4e (patch) | |
tree | 8d3226bc20f2b5c53dc1e7cf6b45d1fd08193a82 /source/blender | |
parent | 6a099b0c45ca4186c552e881aa46bf3bfa718164 (diff) |
Fix T47973: Render stamp ignores font alpha
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index 448d652d89e..63cc57d0a21 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -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 */ |