[gimp/pippin/linear-is-the-new-black] app: gimp_composite_blend do a copy of blend_out SRC_IN



commit f079a244daa72b23225a69c5261fa2971b60a507
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Jan 16 20:12:36 2017 +0100

    app: gimp_composite_blend do a copy of blend_out SRC_IN

 .../layer-modes/gimpoperationpointlayermode.h      |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/operations/layer-modes/gimpoperationpointlayermode.h 
b/app/operations/layer-modes/gimpoperationpointlayermode.h
index 2b24808..6c59549 100644
--- a/app/operations/layer-modes/gimpoperationpointlayermode.h
+++ b/app/operations/layer-modes/gimpoperationpointlayermode.h
@@ -285,7 +285,9 @@ gimp_composite_blend (gfloat              *in,
             }
           else
             {
-              /* nada */
+              out[RED]   = blend_out[RED];
+              out[GREEN] = blend_out[GREEN];
+              out[BLUE]  = blend_out[BLUE];
             }
           out[ALPHA] = new_alpha;
           in          += 4;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]