diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:00:50 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | ea79efef70da14100b591b50dcada819808f20b6 (patch) | |
tree | 4faf296870f1ab27ee33fee2b331fdb6b2d2bec4 /source/blender/compositor/operations/COM_ColorRampOperation.cc | |
parent | ecb8a574c752068de9f8d9eb98f54db1569df2f7 (diff) |
Cleanup: remove `this->` for `m_` prefixed members in Compositor
For cleaning old code style as new code usually omit it.
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorRampOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_ColorRampOperation.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_ColorRampOperation.cc b/source/blender/compositor/operations/COM_ColorRampOperation.cc index 6c1b23ea731..274e1cc3f0f 100644 --- a/source/blender/compositor/operations/COM_ColorRampOperation.cc +++ b/source/blender/compositor/operations/COM_ColorRampOperation.cc @@ -27,13 +27,13 @@ ColorRampOperation::ColorRampOperation() this->addInputSocket(DataType::Value); this->addOutputSocket(DataType::Color); - this->m_inputProgram = nullptr; - this->m_colorBand = nullptr; + m_inputProgram = nullptr; + m_colorBand = nullptr; this->flags.can_be_constant = true; } void ColorRampOperation::initExecution() { - this->m_inputProgram = this->getInputSocketReader(0); + m_inputProgram = this->getInputSocketReader(0); } void ColorRampOperation::executePixelSampled(float output[4], @@ -43,13 +43,13 @@ void ColorRampOperation::executePixelSampled(float output[4], { float values[4]; - this->m_inputProgram->readSampled(values, x, y, sampler); - BKE_colorband_evaluate(this->m_colorBand, values[0], output); + m_inputProgram->readSampled(values, x, y, sampler); + BKE_colorband_evaluate(m_colorBand, values[0], output); } void ColorRampOperation::deinitExecution() { - this->m_inputProgram = nullptr; + m_inputProgram = nullptr; } void ColorRampOperation::update_memory_buffer_partial(MemoryBuffer *output, |