Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:01:04 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commita2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch)
treed409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/operations/COM_MathBaseOperation.h
parentea79efef70da14100b591b50dcada819808f20b6 (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_MathBaseOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_MathBaseOperation.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/compositor/operations/COM_MathBaseOperation.h b/source/blender/compositor/operations/COM_MathBaseOperation.h
index 1424a7a9769..fcb735720b2 100644
--- a/source/blender/compositor/operations/COM_MathBaseOperation.h
+++ b/source/blender/compositor/operations/COM_MathBaseOperation.h
@@ -31,11 +31,11 @@ class MathBaseOperation : public MultiThreadedOperation {
/**
* Prefetched reference to the inputProgram
*/
- SocketReader *m_inputValue1Operation;
- SocketReader *m_inputValue2Operation;
- SocketReader *m_inputValue3Operation;
+ SocketReader *inputValue1Operation_;
+ SocketReader *inputValue2Operation_;
+ SocketReader *inputValue3Operation_;
- bool m_useClamp;
+ bool useClamp_;
protected:
/**
@@ -48,7 +48,7 @@ class MathBaseOperation : public MultiThreadedOperation {
float clamp_when_enabled(float value)
{
- if (m_useClamp) {
+ if (useClamp_) {
return CLAMPIS(value, 0.0f, 1.0f);
}
return value;
@@ -56,7 +56,7 @@ class MathBaseOperation : public MultiThreadedOperation {
void clamp_when_enabled(float *out)
{
- if (m_useClamp) {
+ if (useClamp_) {
CLAMP(*out, 0.0f, 1.0f);
}
}
@@ -79,7 +79,7 @@ class MathBaseOperation : public MultiThreadedOperation {
void setUseClamp(bool value)
{
- m_useClamp = value;
+ useClamp_ = value;
}
void update_memory_buffer_partial(MemoryBuffer *output,