diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-23 19:12:27 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 09:18:33 +0300 |
commit | 25c02ea703f90709625f34bb7c3f9e18be7dd58c (patch) | |
tree | ebf35ce9267b4e05b53a4f4d699bedbbf28905b9 /source/blender/compositor/operations/COM_IDMaskOperation.cc | |
parent | 9975af5ffa7566ff7542620c48c11f7687b9c42b (diff) |
Cleanup: Add namespace to compositor.
Diffstat (limited to 'source/blender/compositor/operations/COM_IDMaskOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_IDMaskOperation.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_IDMaskOperation.cc b/source/blender/compositor/operations/COM_IDMaskOperation.cc index 8757908e354..576c70f1217 100644 --- a/source/blender/compositor/operations/COM_IDMaskOperation.cc +++ b/source/blender/compositor/operations/COM_IDMaskOperation.cc @@ -18,6 +18,8 @@ #include "COM_IDMaskOperation.h" +namespace blender::compositor { + IDMaskOperation::IDMaskOperation() { this->addInputSocket(DataType::Value); @@ -39,3 +41,5 @@ void IDMaskOperation::executePixel(float output[4], int x, int y, void *data) int buffer_index = (y * buffer_width + x); output[0] = (roundf(buffer[buffer_index]) == this->m_objectIndex) ? 1.0f : 0.0f; } + +} // namespace blender::compositor |