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:
Diffstat (limited to 'source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc b/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cc
index c00fe5d5f61..09a1541985b 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);
- this->m_inputOperation = nullptr;
- this->m_predivided = false;
+ m_inputOperation = nullptr;
+ m_predivided = false;
}
void ConvertColorProfileOperation::initExecution()
{
- this->m_inputOperation = this->getInputSocketReader(0);
+ m_inputOperation = this->getInputSocketReader(0);
}
void ConvertColorProfileOperation::executePixelSampled(float output[4],
@@ -41,14 +41,14 @@ void ConvertColorProfileOperation::executePixelSampled(float output[4],
PixelSampler sampler)
{
float color[4];
- this->m_inputOperation->readSampled(color, x, y, sampler);
+ m_inputOperation->readSampled(color, x, y, sampler);
IMB_buffer_float_from_float(
- output, color, 4, this->m_toProfile, this->m_fromProfile, this->m_predivided, 1, 1, 0, 0);
+ output, color, 4, m_toProfile, m_fromProfile, m_predivided, 1, 1, 0, 0);
}
void ConvertColorProfileOperation::deinitExecution()
{
- this->m_inputOperation = nullptr;
+ m_inputOperation = nullptr;
}
} // namespace blender::compositor