From ea79efef70da14100b591b50dcada819808f20b6 Mon Sep 17 00:00:00 2001 From: Manuel Castilla Date: Wed, 13 Oct 2021 23:00:50 +0200 Subject: Cleanup: remove `this->` for `m_` prefixed members in Compositor For cleaning old code style as new code usually omit it. --- .../operations/COM_ConvertColorProfileOperation.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc') diff --git a/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc b/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc index c00fe5d5f61..09a1541985b 100644 --- a/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc +++ b/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc @@ -26,13 +26,13 @@ ConvertColorProfileOperation::ConvertColorProfileOperation() { this->addInputSocket(DataType::Color); this->addOutputSocket(DataType::Color); - this->m_inputOperation = nullptr; - this->m_predivided = false; + m_inputOperation = nullptr; + m_predivided = false; } void ConvertColorProfileOperation::initExecution() { - this->m_inputOperation = this->getInputSocketReader(0); + m_inputOperation = this->getInputSocketReader(0); } void ConvertColorProfileOperation::executePixelSampled(float output[4], @@ -41,14 +41,14 @@ void ConvertColorProfileOperation::executePixelSampled(float output[4], PixelSampler sampler) { float color[4]; - this->m_inputOperation->readSampled(color, x, y, sampler); + m_inputOperation->readSampled(color, x, y, sampler); IMB_buffer_float_from_float( - output, color, 4, this->m_toProfile, this->m_fromProfile, this->m_predivided, 1, 1, 0, 0); + output, color, 4, m_toProfile, m_fromProfile, m_predivided, 1, 1, 0, 0); } void ConvertColorProfileOperation::deinitExecution() { - this->m_inputOperation = nullptr; + m_inputOperation = nullptr; } } // namespace blender::compositor -- cgit v1.2.3