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



commit f308b0c71f1468306f51db8751f08dd8f8f555e1
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 503bb69..f134745 100644
--- a/app/operations/layer-modes/gimpoperationpointlayermode.h
+++ b/app/operations/layer-modes/gimpoperationpointlayermode.h
@@ -288,7 +288,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]