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_ColorRampOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ColorRampOperation.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_ColorRampOperation.cc b/source/blender/compositor/operations/COM_ColorRampOperation.cc
index 6c1b23ea731..274e1cc3f0f 100644
--- a/source/blender/compositor/operations/COM_ColorRampOperation.cc
+++ b/source/blender/compositor/operations/COM_ColorRampOperation.cc
@@ -27,13 +27,13 @@ ColorRampOperation::ColorRampOperation()
this->addInputSocket(DataType::Value);
this->addOutputSocket(DataType::Color);
- this->m_inputProgram = nullptr;
- this->m_colorBand = nullptr;
+ m_inputProgram = nullptr;
+ m_colorBand = nullptr;
this->flags.can_be_constant = true;
}
void ColorRampOperation::initExecution()
{
- this->m_inputProgram = this->getInputSocketReader(0);
+ m_inputProgram = this->getInputSocketReader(0);
}
void ColorRampOperation::executePixelSampled(float output[4],
@@ -43,13 +43,13 @@ void ColorRampOperation::executePixelSampled(float output[4],
{
float values[4];
- this->m_inputProgram->readSampled(values, x, y, sampler);
- BKE_colorband_evaluate(this->m_colorBand, values[0], output);
+ m_inputProgram->readSampled(values, x, y, sampler);
+ BKE_colorband_evaluate(m_colorBand, values[0], output);
}
void ColorRampOperation::deinitExecution()
{
- this->m_inputProgram = nullptr;
+ m_inputProgram = nullptr;
}
void ColorRampOperation::update_memory_buffer_partial(MemoryBuffer *output,