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_MapValueOperation.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_MapValueOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_MapValueOperation.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_MapValueOperation.cc b/source/blender/compositor/operations/COM_MapValueOperation.cc
index 94fecc3f49e..5351f7ac7e4 100644
--- a/source/blender/compositor/operations/COM_MapValueOperation.cc
+++ b/source/blender/compositor/operations/COM_MapValueOperation.cc
@@ -24,13 +24,13 @@ MapValueOperation::MapValueOperation()
{
this->addInputSocket(DataType::Value);
this->addOutputSocket(DataType::Value);
- this->m_inputOperation = nullptr;
+ m_inputOperation = nullptr;
flags.can_be_constant = true;
}
void MapValueOperation::initExecution()
{
- this->m_inputOperation = this->getInputSocketReader(0);
+ m_inputOperation = this->getInputSocketReader(0);
}
void MapValueOperation::executePixelSampled(float output[4],
@@ -39,8 +39,8 @@ void MapValueOperation::executePixelSampled(float output[4],
PixelSampler sampler)
{
float src[4];
- this->m_inputOperation->readSampled(src, x, y, sampler);
- TexMapping *texmap = this->m_settings;
+ m_inputOperation->readSampled(src, x, y, sampler);
+ TexMapping *texmap = m_settings;
float value = (src[0] + texmap->loc[0]) * texmap->size[0];
if (texmap->flag & TEXMAP_CLIP_MIN) {
if (value < texmap->min[0]) {
@@ -58,7 +58,7 @@ void MapValueOperation::executePixelSampled(float output[4],
void MapValueOperation::deinitExecution()
{
- this->m_inputOperation = nullptr;
+ m_inputOperation = nullptr;
}
void MapValueOperation::update_memory_buffer_partial(MemoryBuffer *output,
@@ -67,7 +67,7 @@ void MapValueOperation::update_memory_buffer_partial(MemoryBuffer *output,
{
for (BuffersIterator<float> it = output->iterate_with(inputs, area); !it.is_end(); ++it) {
const float input = *it.in(0);
- TexMapping *texmap = this->m_settings;
+ TexMapping *texmap = m_settings;
float value = (input + texmap->loc[0]) * texmap->size[0];
if (texmap->flag & TEXMAP_CLIP_MIN) {
if (value < texmap->min[0]) {