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_ColorRampOperation.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_ColorRampOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ColorRampOperation.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/compositor/operations/COM_ColorRampOperation.cc b/source/blender/compositor/operations/COM_ColorRampOperation.cc
index 274e1cc3f0f..054bdcf5b04 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);
- m_inputProgram = nullptr;
- m_colorBand = nullptr;
+ inputProgram_ = nullptr;
+ colorBand_ = nullptr;
this->flags.can_be_constant = true;
}
void ColorRampOperation::initExecution()
{
- m_inputProgram = this->getInputSocketReader(0);
+ inputProgram_ = this->getInputSocketReader(0);
}
void ColorRampOperation::executePixelSampled(float output[4],
@@ -43,13 +43,13 @@ void ColorRampOperation::executePixelSampled(float output[4],
{
float values[4];
- m_inputProgram->readSampled(values, x, y, sampler);
- BKE_colorband_evaluate(m_colorBand, values[0], output);
+ inputProgram_->readSampled(values, x, y, sampler);
+ BKE_colorband_evaluate(colorBand_, values[0], output);
}
void ColorRampOperation::deinitExecution()
{
- m_inputProgram = nullptr;
+ inputProgram_ = nullptr;
}
void ColorRampOperation::update_memory_buffer_partial(MemoryBuffer *output,
@@ -57,7 +57,7 @@ void ColorRampOperation::update_memory_buffer_partial(MemoryBuffer *output,
Span<MemoryBuffer *> inputs)
{
for (BuffersIterator<float> it = output->iterate_with(inputs, area); !it.is_end(); ++it) {
- BKE_colorband_evaluate(m_colorBand, *it.in(0), it.out);
+ BKE_colorband_evaluate(colorBand_, *it.in(0), it.out);
}
}