From b3e48fed5d02176b7b393ed47b0483696b5db389 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 16 Mar 2010 22:19:43 +0000 Subject: [PATCH] Fix: Incorrect alpha values were displayed when sampling a float image in the image editor, reported in IRC by kahr-alpha --- source/blender/editors/space_image/image_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index 488cb7885b3..3aa766c32d0 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -1521,7 +1521,7 @@ static void sample_apply(bContext *C, wmOperator *op, wmEvent *event) info->colf[0]= fp[0]; info->colf[1]= fp[1]; info->colf[2]= fp[2]; - info->colf[3]= fp[4]; + info->colf[3]= fp[3]; info->colfp= info->colf; }