Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:00:50 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commitea79efef70da14100b591b50dcada819808f20b6 (patch)
tree4faf296870f1ab27ee33fee2b331fdb6b2d2bec4 /source/blender/compositor/operations/COM_ColorExposureOperation.cc
parentecb8a574c752068de9f8d9eb98f54db1569df2f7 (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_ColorExposureOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ColorExposureOperation.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/compositor/operations/COM_ColorExposureOperation.cc b/source/blender/compositor/operations/COM_ColorExposureOperation.cc
index 228550a31c5..7886f2a619f 100644
--- a/source/blender/compositor/operations/COM_ColorExposureOperation.cc
+++ b/source/blender/compositor/operations/COM_ColorExposureOperation.cc
@@ -25,14 +25,14 @@ ExposureOperation::ExposureOperation()
this->addInputSocket(DataType::Color);
this->addInputSocket(DataType::Value);
this->addOutputSocket(DataType::Color);
- this->m_inputProgram = nullptr;
+ m_inputProgram = nullptr;
flags.can_be_constant = true;
}
void ExposureOperation::initExecution()
{
- this->m_inputProgram = this->getInputSocketReader(0);
- this->m_inputExposureProgram = this->getInputSocketReader(1);
+ m_inputProgram = this->getInputSocketReader(0);
+ m_inputExposureProgram = this->getInputSocketReader(1);
}
void ExposureOperation::executePixelSampled(float output[4],
@@ -42,8 +42,8 @@ void ExposureOperation::executePixelSampled(float output[4],
{
float inputValue[4];
float inputExposure[4];
- this->m_inputProgram->readSampled(inputValue, x, y, sampler);
- this->m_inputExposureProgram->readSampled(inputExposure, x, y, sampler);
+ m_inputProgram->readSampled(inputValue, x, y, sampler);
+ m_inputExposureProgram->readSampled(inputExposure, x, y, sampler);
const float exposure = pow(2, inputExposure[0]);
output[0] = inputValue[0] * exposure;
@@ -68,8 +68,8 @@ void ExposureOperation::update_memory_buffer_row(PixelCursor &p)
void ExposureOperation::deinitExecution()
{
- this->m_inputProgram = nullptr;
- this->m_inputExposureProgram = nullptr;
+ m_inputProgram = nullptr;
+ m_inputExposureProgram = nullptr;
}
} // namespace blender::compositor