diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_PixelateOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_PixelateOperation.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_PixelateOperation.cc b/source/blender/compositor/operations/COM_PixelateOperation.cc index 4fc238bc094..b9a18756550 100644 --- a/source/blender/compositor/operations/COM_PixelateOperation.cc +++ b/source/blender/compositor/operations/COM_PixelateOperation.cc @@ -25,17 +25,17 @@ PixelateOperation::PixelateOperation(DataType datatype) this->addInputSocket(datatype); this->addOutputSocket(datatype); this->set_canvas_input_index(0); - this->m_inputOperation = nullptr; + m_inputOperation = nullptr; } void PixelateOperation::initExecution() { - this->m_inputOperation = this->getInputSocketReader(0); + m_inputOperation = this->getInputSocketReader(0); } void PixelateOperation::deinitExecution() { - this->m_inputOperation = nullptr; + m_inputOperation = nullptr; } void PixelateOperation::executePixelSampled(float output[4], @@ -45,7 +45,7 @@ void PixelateOperation::executePixelSampled(float output[4], { float nx = round(x); float ny = round(y); - this->m_inputOperation->readSampled(output, nx, ny, sampler); + m_inputOperation->readSampled(output, nx, ny, sampler); } } // namespace blender::compositor |