diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.cc b/source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.cc index e4686ffa76d..da930186901 100644 --- a/source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.cc +++ b/source/blender/compositor/operations/COM_SetAlphaMultiplyOperation.cc @@ -26,15 +26,15 @@ SetAlphaMultiplyOperation::SetAlphaMultiplyOperation() this->addInputSocket(DataType::Value); this->addOutputSocket(DataType::Color); - this->m_inputColor = nullptr; - this->m_inputAlpha = nullptr; + m_inputColor = nullptr; + m_inputAlpha = nullptr; this->flags.can_be_constant = true; } void SetAlphaMultiplyOperation::initExecution() { - this->m_inputColor = getInputSocketReader(0); - this->m_inputAlpha = getInputSocketReader(1); + m_inputColor = getInputSocketReader(0); + m_inputAlpha = getInputSocketReader(1); } void SetAlphaMultiplyOperation::executePixelSampled(float output[4], @@ -45,16 +45,16 @@ void SetAlphaMultiplyOperation::executePixelSampled(float output[4], float color_input[4]; float alpha_input[4]; - this->m_inputColor->readSampled(color_input, x, y, sampler); - this->m_inputAlpha->readSampled(alpha_input, x, y, sampler); + m_inputColor->readSampled(color_input, x, y, sampler); + m_inputAlpha->readSampled(alpha_input, x, y, sampler); mul_v4_v4fl(output, color_input, alpha_input[0]); } void SetAlphaMultiplyOperation::deinitExecution() { - this->m_inputColor = nullptr; - this->m_inputAlpha = nullptr; + m_inputColor = nullptr; + m_inputAlpha = nullptr; } void SetAlphaMultiplyOperation::update_memory_buffer_partial(MemoryBuffer *output, |