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_BokehBlurOperation.cc | |
parent | ca516e78c4fe1378f0cd462ee0ed7438adb9b3f1 (diff) |
Cleanup: Use Bitflags For Booleans.
Diffstat (limited to 'source/blender/compositor/operations/COM_BokehBlurOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_BokehBlurOperation.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_BokehBlurOperation.cc b/source/blender/compositor/operations/COM_BokehBlurOperation.cc index 3eb058a10ef..8d331758377 100644 --- a/source/blender/compositor/operations/COM_BokehBlurOperation.cc +++ b/source/blender/compositor/operations/COM_BokehBlurOperation.cc @@ -31,8 +31,9 @@ BokehBlurOperation::BokehBlurOperation() this->addInputSocket(DataType::Value); this->addInputSocket(DataType::Value); this->addOutputSocket(DataType::Color); - this->setComplex(true); - this->setOpenCL(true); + + flags.complex = true; + flags.open_cl = true; this->m_size = 1.0f; this->m_sizeavailable = false; |