diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 18:05:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 18:05:29 +0300 |
commit | a262ea8c47f8106f66e16935c556f383ef306861 (patch) | |
tree | f37e53c16ba423c478b9522244183367c701b3b0 /source/blender/compositor/operations/COM_SetAlphaOperation.cpp | |
parent | 410880552bfaf32f91eaad56bdf2c93c67cbd5c8 (diff) |
Cleanup: trailing space for compositor
Diffstat (limited to 'source/blender/compositor/operations/COM_SetAlphaOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_SetAlphaOperation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_SetAlphaOperation.cpp b/source/blender/compositor/operations/COM_SetAlphaOperation.cpp index 91933484027..e6c04a4b68c 100644 --- a/source/blender/compositor/operations/COM_SetAlphaOperation.cpp +++ b/source/blender/compositor/operations/COM_SetAlphaOperation.cpp @@ -27,7 +27,7 @@ SetAlphaOperation::SetAlphaOperation() : NodeOperation() this->addInputSocket(COM_DT_COLOR); this->addInputSocket(COM_DT_VALUE); this->addOutputSocket(COM_DT_COLOR); - + this->m_inputColor = NULL; this->m_inputAlpha = NULL; } @@ -41,10 +41,10 @@ void SetAlphaOperation::initExecution() void SetAlphaOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler) { float alphaInput[4]; - + this->m_inputColor->readSampled(output, x, y, sampler); this->m_inputAlpha->readSampled(alphaInput, x, y, sampler); - + output[3] = alphaInput[0]; } |