diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 17:45:49 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 18:10:01 +0300 |
commit | fe60062a9910161d411da6e14690755d814c4cb1 (patch) | |
tree | 35e2e5853e21d66ed48b7066b980abf45e4b57ed /source/blender/compositor/operations/COM_SMAAOperation.cc | |
parent | ca516e78c4fe1378f0cd462ee0ed7438adb9b3f1 (diff) |
Cleanup: Use Bitflags For Booleans.
Diffstat (limited to 'source/blender/compositor/operations/COM_SMAAOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_SMAAOperation.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_SMAAOperation.cc b/source/blender/compositor/operations/COM_SMAAOperation.cc index e99690001ea..38700c76f07 100644 --- a/source/blender/compositor/operations/COM_SMAAOperation.cc +++ b/source/blender/compositor/operations/COM_SMAAOperation.cc @@ -163,7 +163,7 @@ SMAAEdgeDetectionOperation::SMAAEdgeDetectionOperation() this->addInputSocket(DataType::Color); /* image */ this->addInputSocket(DataType::Value); /* depth, material ID, etc. */ this->addOutputSocket(DataType::Color); - this->setComplex(true); + this->flags.complex = true; this->m_imageReader = nullptr; this->m_valueReader = nullptr; this->m_threshold = 0.1f; @@ -295,7 +295,7 @@ SMAABlendingWeightCalculationOperation::SMAABlendingWeightCalculationOperation() { this->addInputSocket(DataType::Color); /* edges */ this->addOutputSocket(DataType::Color); - this->setComplex(true); + this->flags.complex = true; this->m_imageReader = nullptr; this->m_corner_rounding = 25; } @@ -782,7 +782,7 @@ SMAANeighborhoodBlendingOperation::SMAANeighborhoodBlendingOperation() this->addInputSocket(DataType::Color); /* image */ this->addInputSocket(DataType::Color); /* blend */ this->addOutputSocket(DataType::Color); - this->setComplex(true); + this->flags.complex = true; this->m_image1Reader = nullptr; this->m_image2Reader = nullptr; } |