[Bf-blender-cvs] [8aed449] blender-v2.77-release: Fix T47973: Render stamp ignores font alpha

Campbell Barton noreply at git.blender.org
Tue Apr 5 10:38:29 CEST 2016


Commit: 8aed4495280b5caf6faca2609c0eb044f572646c
Author: Campbell Barton
Date:   Tue Mar 29 00:25:07 2016 +1100
Branches: blender-v2.77-release
https://developer.blender.org/rB8aed4495280b5caf6faca2609c0eb044f572646c

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 05ec54e..02567fa 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