Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-03-29 17:45:49 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-29 18:10:01 +0300
commitfe60062a9910161d411da6e14690755d814c4cb1 (patch)
tree35e2e5853e21d66ed48b7066b980abf45e4b57ed /source/blender/compositor/operations/COM_BokehBlurOperation.cc
parentca516e78c4fe1378f0cd462ee0ed7438adb9b3f1 (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.cc5
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;