[Bf-blender-cvs] [240adb9] master: Fix T47973: Render stamp ignores font alpha

Campbell Barton noreply at git.blender.org
Mon Mar 28 15:25:28 CEST 2016


Commit: 240adb90a5d43642da942a9aa1562b346ba73a4e
Author: Campbell Barton
Date:   Tue Mar 29 00:25:07 2016 +1100
Branches: master
https://developer.blender.org/rB240adb90a5d43642da942a9aa1562b346ba73a4e

Fix T47973: Render stamp ignores font alpha

===================================================================

M	source/blender/blenkernel/intern/image.c

===================================================================

diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 448d652..63cc57d 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 */




More information about the Bf-blender-cvs mailing list