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-07 22:36:35 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-08 02:29:02 +0300
commit12a5a605572d742335a4978966444d393792cd28 (patch)
treef06fa16602c175982ca2e5d6ec5b55f387a98cbc /source/blender/compositor/operations/COM_MapValueOperation.cc
parenta808c5ae65e8a9fd2271274cbba3038846e5ffee (diff)
Cleanup: Use `_` suffix for non-public members in Compositor
To follow the style guide.
Diffstat (limited to 'source/blender/compositor/operations/COM_MapValueOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_MapValueOperation.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_MapValueOperation.cc b/source/blender/compositor/operations/COM_MapValueOperation.cc
index 5351f7ac7e4..0f4175c3d3d 100644
--- a/source/blender/compositor/operations/COM_MapValueOperation.cc
+++ b/source/blender/compositor/operations/COM_MapValueOperation.cc
@@ -24,13 +24,13 @@ MapValueOperation::MapValueOperation()
{
this->addInputSocket(DataType::Value);
this->addOutputSocket(DataType::Value);
- m_inputOperation = nullptr;
+ inputOperation_ = nullptr;
flags.can_be_constant = true;
}
void MapValueOperation::initExecution()
{
- m_inputOperation = this->getInputSocketReader(0);
+ inputOperation_ = this->getInputSocketReader(0);
}
void MapValueOperation::executePixelSampled(float output[4],
@@ -39,8 +39,8 @@ void MapValueOperation::executePixelSampled(float output[4],
PixelSampler sampler)
{
float src[4];
- m_inputOperation->readSampled(src, x, y, sampler);
- TexMapping *texmap = m_settings;
+ inputOperation_->readSampled(src, x, y, sampler);
+ TexMapping *texmap = settings_;
float value = (src[0] + texmap->loc[0]) * texmap->size[0];
if (texmap->flag & TEXMAP_CLIP_MIN) {
if (value < texmap->min[0]) {
@@ -58,7 +58,7 @@ void MapValueOperation::executePixelSampled(float output[4],
void MapValueOperation::deinitExecution()
{
- m_inputOperation = nullptr;
+ inputOperation_ = nullptr;
}
void MapValueOperation::update_memory_buffer_partial(MemoryBuffer *output,
@@ -67,7 +67,7 @@ void MapValueOperation::update_memory_buffer_partial(MemoryBuffer *output,
{
for (BuffersIterator<float> it = output->iterate_with(inputs, area); !it.is_end(); ++it) {
const float input = *it.in(0);
- TexMapping *texmap = m_settings;
+ TexMapping *texmap = settings_;
float value = (input + texmap->loc[0]) * texmap->size[0];
if (texmap->flag & TEXMAP_CLIP_MIN) {
if (value < texmap->min[0]) {