[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47181] trunk/blender/source/blender/ compositor/operations/COM_ConvolutionFilterOperation.cpp: * Compositor Alpha channel was not effected by the ConvolutionFilters

Jeroen Bakker j.bakker at atmind.nl
Tue May 29 16:25:28 CEST 2012


Revision: 47181
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47181
Author:   jbakker
Date:     2012-05-29 14:25:28 +0000 (Tue, 29 May 2012)
Log Message:
-----------
 * Compositor Alpha channel was not effected by the ConvolutionFilters
(Filter:Sharpen, Filter:Soften, etc)

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/operations/COM_ConvolutionFilterOperation.cpp

Modified: trunk/blender/source/blender/compositor/operations/COM_ConvolutionFilterOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_ConvolutionFilterOperation.cpp	2012-05-29 14:13:08 UTC (rev 47180)
+++ trunk/blender/source/blender/compositor/operations/COM_ConvolutionFilterOperation.cpp	2012-05-29 14:25:28 UTC (rev 47181)
@@ -126,6 +126,7 @@
 	color[0] = color[0]*value[0] + in2[0] * mval;
 	color[1] = color[1]*value[0] + in2[1] * mval;
 	color[2] = color[2]*value[0] + in2[2] * mval;
+	color[3] = color[3]*value[0] + in2[3] * mval;
 }
 
 bool ConvolutionFilterOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)




More information about the Bf-blender-cvs mailing list