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:
Diffstat (limited to 'source/blender/compositor/operations/COM_MathBaseOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_MathBaseOperation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_MathBaseOperation.h b/source/blender/compositor/operations/COM_MathBaseOperation.h
index 0188eb50fa8..1424a7a9769 100644
--- a/source/blender/compositor/operations/COM_MathBaseOperation.h
+++ b/source/blender/compositor/operations/COM_MathBaseOperation.h
@@ -48,7 +48,7 @@ class MathBaseOperation : public MultiThreadedOperation {
float clamp_when_enabled(float value)
{
- if (this->m_useClamp) {
+ if (m_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 (this->m_useClamp) {
+ if (m_useClamp) {
CLAMP(*out, 0.0f, 1.0f);
}
}
@@ -79,7 +79,7 @@ class MathBaseOperation : public MultiThreadedOperation {
void setUseClamp(bool value)
{
- this->m_useClamp = value;
+ m_useClamp = value;
}
void update_memory_buffer_partial(MemoryBuffer *output,