gimp r27241 - in trunk: . app/gegl
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27241 - in trunk: . app/gegl
- Date: Sat, 11 Oct 2008 19:12:49 +0000 (UTC)
Author: martinn
Date: Sat Oct 11 19:12:49 2008
New Revision: 27241
URL: http://svn.gnome.org/viewvc/gimp?rev=27241&view=rev
Log:
* app/gegl/gimpoperationadditionmode.c
(gimp_operation_addition_mode_process): Implement this one.
Modified:
trunk/ChangeLog
trunk/app/gegl/gimpoperationadditionmode.c
Modified: trunk/app/gegl/gimpoperationadditionmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationadditionmode.c (original)
+++ trunk/app/gegl/gimpoperationadditionmode.c Sat Oct 11 19:12:49 2008
@@ -71,9 +71,9 @@
while (samples--)
{
- dest[RED_PIX] = src[RED_PIX];
- dest[GREEN_PIX] = src[GREEN_PIX];
- dest[BLUE_PIX] = src[BLUE_PIX];
+ dest[RED_PIX] = src[RED_PIX] + aux[RED_PIX];
+ dest[GREEN_PIX] = src[GREEN_PIX] + aux[GREEN_PIX];
+ dest[BLUE_PIX] = src[BLUE_PIX] + aux[BLUE_PIX];
dest[ALPHA_PIX] = src[ALPHA_PIX];
src += 4;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]