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:01:04 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commita2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch)
treed409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc
parentea79efef70da14100b591b50dcada819808f20b6 (diff)
Cleanup: replace members `m_` prefix by `_` suffix in Compositor
To convert old code to the current convention and use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc b/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc
index 09a1541985b..4f78c919695 100644
--- a/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc
+++ b/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc
@@ -26,13 +26,13 @@ ConvertColorProfileOperation::ConvertColorProfileOperation()
{
this->addInputSocket(DataType::Color);
this->addOutputSocket(DataType::Color);
- m_inputOperation = nullptr;
- m_predivided = false;
+ inputOperation_ = nullptr;
+ predivided_ = false;
}
void ConvertColorProfileOperation::initExecution()
{
- m_inputOperation = this->getInputSocketReader(0);
+ inputOperation_ = this->getInputSocketReader(0);
}
void ConvertColorProfileOperation::executePixelSampled(float output[4],
@@ -41,14 +41,13 @@ void ConvertColorProfileOperation::executePixelSampled(float output[4],
PixelSampler sampler)
{
float color[4];
- m_inputOperation->readSampled(color, x, y, sampler);
- IMB_buffer_float_from_float(
- output, color, 4, m_toProfile, m_fromProfile, m_predivided, 1, 1, 0, 0);
+ inputOperation_->readSampled(color, x, y, sampler);
+ IMB_buffer_float_from_float(output, color, 4, toProfile_, fromProfile_, predivided_, 1, 1, 0, 0);
}
void ConvertColorProfileOperation::deinitExecution()
{
- m_inputOperation = nullptr;
+ inputOperation_ = nullptr;
}
} // namespace blender::compositor