diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-07 22:36:35 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-08 02:29:02 +0300 |
commit | 12a5a605572d742335a4978966444d393792cd28 (patch) | |
tree | f06fa16602c175982ca2e5d6ec5b55f387a98cbc /source/blender/compositor/operations/COM_GlareBaseOperation.cc | |
parent | a808c5ae65e8a9fd2271274cbba3038846e5ffee (diff) |
Cleanup: Use `_` suffix for non-public members in Compositor
To follow the style guide.
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareBaseOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_GlareBaseOperation.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/operations/COM_GlareBaseOperation.cc b/source/blender/compositor/operations/COM_GlareBaseOperation.cc index 6e05705163f..0987f0efb31 100644 --- a/source/blender/compositor/operations/COM_GlareBaseOperation.cc +++ b/source/blender/compositor/operations/COM_GlareBaseOperation.cc @@ -24,25 +24,25 @@ GlareBaseOperation::GlareBaseOperation() { this->addInputSocket(DataType::Color); this->addOutputSocket(DataType::Color); - m_settings = nullptr; + settings_ = nullptr; flags.is_fullframe_operation = true; is_output_rendered_ = false; } void GlareBaseOperation::initExecution() { SingleThreadedOperation::initExecution(); - m_inputProgram = getInputSocketReader(0); + inputProgram_ = getInputSocketReader(0); } void GlareBaseOperation::deinitExecution() { - m_inputProgram = nullptr; + inputProgram_ = nullptr; SingleThreadedOperation::deinitExecution(); } MemoryBuffer *GlareBaseOperation::createMemoryBuffer(rcti *rect2) { - MemoryBuffer *tile = (MemoryBuffer *)m_inputProgram->initializeTileData(rect2); + MemoryBuffer *tile = (MemoryBuffer *)inputProgram_->initializeTileData(rect2); rcti rect; rect.xmin = 0; rect.ymin = 0; @@ -50,7 +50,7 @@ MemoryBuffer *GlareBaseOperation::createMemoryBuffer(rcti *rect2) rect.ymax = getHeight(); MemoryBuffer *result = new MemoryBuffer(DataType::Color, rect); float *data = result->getBuffer(); - this->generateGlare(data, tile, m_settings); + this->generateGlare(data, tile, settings_); return result; } @@ -93,7 +93,7 @@ void GlareBaseOperation::update_memory_buffer(MemoryBuffer *output, input = input->inflate(); } - this->generateGlare(output->getBuffer(), input, m_settings); + this->generateGlare(output->getBuffer(), input, settings_); is_output_rendered_ = true; if (is_input_inflated) { |