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_PixelateOperation.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_PixelateOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_PixelateOperation.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_PixelateOperation.cc b/source/blender/compositor/operations/COM_PixelateOperation.cc
index 4fc238bc094..b9a18756550 100644
--- a/source/blender/compositor/operations/COM_PixelateOperation.cc
+++ b/source/blender/compositor/operations/COM_PixelateOperation.cc
@@ -25,17 +25,17 @@ PixelateOperation::PixelateOperation(DataType datatype)
this->addInputSocket(datatype);
this->addOutputSocket(datatype);
this->set_canvas_input_index(0);
- this->m_inputOperation = nullptr;
+ m_inputOperation = nullptr;
}
void PixelateOperation::initExecution()
{
- this->m_inputOperation = this->getInputSocketReader(0);
+ m_inputOperation = this->getInputSocketReader(0);
}
void PixelateOperation::deinitExecution()
{
- this->m_inputOperation = nullptr;
+ m_inputOperation = nullptr;
}
void PixelateOperation::executePixelSampled(float output[4],
@@ -45,7 +45,7 @@ void PixelateOperation::executePixelSampled(float output[4],
{
float nx = round(x);
float ny = round(y);
- this->m_inputOperation->readSampled(output, nx, ny, sampler);
+ m_inputOperation->readSampled(output, nx, ny, sampler);
}
} // namespace blender::compositor