diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:01:04 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | a2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch) | |
tree | d409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cc | |
parent | ea79efef70da14100b591b50dcada819808f20b6 (diff) |
Cleanup: replace members `m_` prefix by `_` suffix in Compositor
To convert old code to the current convention and
use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cc b/source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cc index 5abb490d698..09539d2fe57 100644 --- a/source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cc +++ b/source/blender/compositor/operations/COM_SetAlphaReplaceOperation.cc @@ -26,15 +26,15 @@ SetAlphaReplaceOperation::SetAlphaReplaceOperation() this->addInputSocket(DataType::Value); this->addOutputSocket(DataType::Color); - m_inputColor = nullptr; - m_inputAlpha = nullptr; + inputColor_ = nullptr; + inputAlpha_ = nullptr; this->flags.can_be_constant = true; } void SetAlphaReplaceOperation::initExecution() { - m_inputColor = getInputSocketReader(0); - m_inputAlpha = getInputSocketReader(1); + inputColor_ = getInputSocketReader(0); + inputAlpha_ = getInputSocketReader(1); } void SetAlphaReplaceOperation::executePixelSampled(float output[4], @@ -44,15 +44,15 @@ void SetAlphaReplaceOperation::executePixelSampled(float output[4], { float alpha_input[4]; - m_inputColor->readSampled(output, x, y, sampler); - m_inputAlpha->readSampled(alpha_input, x, y, sampler); + inputColor_->readSampled(output, x, y, sampler); + inputAlpha_->readSampled(alpha_input, x, y, sampler); output[3] = alpha_input[0]; } void SetAlphaReplaceOperation::deinitExecution() { - m_inputColor = nullptr; - m_inputAlpha = nullptr; + inputColor_ = nullptr; + inputAlpha_ = nullptr; } void SetAlphaReplaceOperation::update_memory_buffer_partial(MemoryBuffer *output, |