Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-01-24 18:24:38 +0300
committerTon Roosendaal <ton@blender.org>2006-01-24 18:24:38 +0300
commit26b718654d3ecffce14f5d4a83ce9752692b80f0 (patch)
tree44261081bf076d0ff22a3d9405267cc8c193ef6b /source/blender/blenkernel/intern/colortools.c
parent771c7f3549b18f275ad4f1daf661eba601e0c3f9 (diff)
Orange: fixes in Compositor:
- Curves in Image window didn't copy alpha (when no 32 bits rect for display was made already). - Code was missing to validate grouped nodes in Compositor, didnt work at all yet - Loading new Images in a Node (using filewindow) didn't assign the image Image window now displays Alpha for float images too
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c
index f9854fae98c..ce0db15603f 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -584,7 +584,7 @@ void curvemapping_do_image(CurveMapping *cumap, Image *ima)
pixc[0]= FTOCHAR(col[0]);
pixc[1]= FTOCHAR(col[1]);
pixc[2]= FTOCHAR(col[2]);
- /* assume alpha was set */
+ pixc[3]= FTOCHAR(pixf[3]);
}
}