[Bf-blender-cvs] [15e3afb2b03] compositor-anti-aliasing: Cleanup Compositor AA: remove redundant initialization

Habib Gahbiche noreply at git.blender.org
Sat Mar 27 14:39:27 CET 2021


Commit: 15e3afb2b03f456d501bbe4c9d2d59e05ec61cbf
Author: Habib Gahbiche
Date:   Sat Mar 27 14:38:09 2021 +0100
Branches: compositor-anti-aliasing
https://developer.blender.org/rB15e3afb2b03f456d501bbe4c9d2d59e05ec61cbf

Cleanup Compositor AA: remove redundant initialization

===================================================================

M	source/blender/compositor/operations/COM_SMAAOperation.cc

===================================================================

diff --git a/source/blender/compositor/operations/COM_SMAAOperation.cc b/source/blender/compositor/operations/COM_SMAAOperation.cc
index ed35fcb1e41..415a80f1d63 100644
--- a/source/blender/compositor/operations/COM_SMAAOperation.cc
+++ b/source/blender/compositor/operations/COM_SMAAOperation.cc
@@ -156,7 +156,7 @@ static void area_diag(int d1, int d2, int e1, int e2, float weights[2])
 /* Edge Detection (First Pass) */
 /*-----------------------------------------------------------------------------*/
 
-SMAAEdgeDetectionOperation::SMAAEdgeDetectionOperation() : NodeOperation()
+SMAAEdgeDetectionOperation::SMAAEdgeDetectionOperation()
 {
   this->addInputSocket(DataType::Color); /* image */
   this->addInputSocket(DataType::Value); /* depth, material ID, etc. */
@@ -290,7 +290,7 @@ void SMAAEdgeDetectionOperation::executePixel(float output[4], int x, int y, voi
 /* Blending Weight Calculation (Second Pass) */
 /*-----------------------------------------------------------------------------*/
 
-SMAABlendingWeightCalculationOperation::SMAABlendingWeightCalculationOperation() : NodeOperation()
+SMAABlendingWeightCalculationOperation::SMAABlendingWeightCalculationOperation()
 {
   this->addInputSocket(DataType::Color); /* edges */
   this->addOutputSocket(DataType::Color);
@@ -776,7 +776,7 @@ void SMAABlendingWeightCalculationOperation::detectVerticalCornerPattern(
 /* Neighborhood Blending (Third Pass) */
 /*-----------------------------------------------------------------------------*/
 
-SMAANeighborhoodBlendingOperation::SMAANeighborhoodBlendingOperation() : NodeOperation()
+SMAANeighborhoodBlendingOperation::SMAANeighborhoodBlendingOperation()
 {
   this->addInputSocket(DataType::Color); /* image */
   this->addInputSocket(DataType::Color); /* blend */



More information about the Bf-blender-cvs mailing list