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. --- .../blender/compositor/operations/COM_ColorRampOperation.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/compositor/operations/COM_ColorRampOperation.cc') 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, -- cgit v1.2.3