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_PosterizeOperation.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_PosterizeOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_PosterizeOperation.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_PosterizeOperation.cc b/source/blender/compositor/operations/COM_PosterizeOperation.cc
index db5860f48f8..dd1c5cae1bb 100644
--- a/source/blender/compositor/operations/COM_PosterizeOperation.cc
+++ b/source/blender/compositor/operations/COM_PosterizeOperation.cc
@@ -25,15 +25,15 @@ PosterizeOperation::PosterizeOperation()
this->addInputSocket(DataType::Color);
this->addInputSocket(DataType::Value);
this->addOutputSocket(DataType::Color);
- this->m_inputProgram = nullptr;
- this->m_inputStepsProgram = nullptr;
+ m_inputProgram = nullptr;
+ m_inputStepsProgram = nullptr;
flags.can_be_constant = true;
}
void PosterizeOperation::initExecution()
{
- this->m_inputProgram = this->getInputSocketReader(0);
- this->m_inputStepsProgram = this->getInputSocketReader(1);
+ m_inputProgram = this->getInputSocketReader(0);
+ m_inputStepsProgram = this->getInputSocketReader(1);
}
void PosterizeOperation::executePixelSampled(float output[4],
@@ -44,8 +44,8 @@ void PosterizeOperation::executePixelSampled(float output[4],
float inputValue[4];
float inputSteps[4];
- this->m_inputProgram->readSampled(inputValue, x, y, sampler);
- this->m_inputStepsProgram->readSampled(inputSteps, x, y, sampler);
+ m_inputProgram->readSampled(inputValue, x, y, sampler);
+ m_inputStepsProgram->readSampled(inputSteps, x, y, sampler);
CLAMP(inputSteps[0], 2.0f, 1024.0f);
const float steps_inv = 1.0f / inputSteps[0];
@@ -75,8 +75,8 @@ void PosterizeOperation::update_memory_buffer_partial(MemoryBuffer *output,
void PosterizeOperation::deinitExecution()
{
- this->m_inputProgram = nullptr;
- this->m_inputStepsProgram = nullptr;
+ m_inputProgram = nullptr;
+ m_inputStepsProgram = nullptr;
}
} // namespace blender::compositor