diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:01:04 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | a2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch) | |
tree | d409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/operations/COM_MixOperation.h | |
parent | ea79efef70da14100b591b50dcada819808f20b6 (diff) |
Cleanup: replace members `m_` prefix by `_` suffix in Compositor
To convert old code to the current convention and
use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_MixOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_MixOperation.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/compositor/operations/COM_MixOperation.h b/source/blender/compositor/operations/COM_MixOperation.h index 5d96aa4f5d7..0efc98617a6 100644 --- a/source/blender/compositor/operations/COM_MixOperation.h +++ b/source/blender/compositor/operations/COM_MixOperation.h @@ -53,15 +53,15 @@ class MixBaseOperation : public MultiThreadedOperation { /** * Prefetched reference to the inputProgram */ - SocketReader *m_inputValueOperation; - SocketReader *m_inputColor1Operation; - SocketReader *m_inputColor2Operation; - bool m_valueAlphaMultiply; - bool m_useClamp; + SocketReader *inputValueOperation_; + SocketReader *inputColor1Operation_; + SocketReader *inputColor2Operation_; + bool valueAlphaMultiply_; + bool useClamp_; inline void clampIfNeeded(float color[4]) { - if (m_useClamp) { + if (useClamp_) { clamp_v4(color, 0.0f, 1.0f); } } @@ -91,15 +91,15 @@ class MixBaseOperation : public MultiThreadedOperation { void setUseValueAlphaMultiply(const bool value) { - m_valueAlphaMultiply = value; + valueAlphaMultiply_ = value; } inline bool useValueAlphaMultiply() { - return m_valueAlphaMultiply; + return valueAlphaMultiply_; } void setUseClamp(bool value) { - m_useClamp = value; + useClamp_ = value; } void update_memory_buffer_partial(MemoryBuffer *output, |