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-07 22:14:54 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-08 02:13:07 +0300
commita808c5ae65e8a9fd2271274cbba3038846e5ffee (patch)
treebe7afabc606c20c9515c72391428a323c642b299 /source/blender/compositor/operations/COM_IDMaskOperation.cc
parentc0995c27a8f57a79eb98ae70f5bd1cefbacb7a02 (diff)
Cleanup: Remove `this->` for `m_` prefixed members in Compositor
The prefix is already explicit.
Diffstat (limited to 'source/blender/compositor/operations/COM_IDMaskOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_IDMaskOperation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_IDMaskOperation.cc b/source/blender/compositor/operations/COM_IDMaskOperation.cc
index bb11ac8b1be..56bd88b0ddd 100644
--- a/source/blender/compositor/operations/COM_IDMaskOperation.cc
+++ b/source/blender/compositor/operations/COM_IDMaskOperation.cc
@@ -40,7 +40,7 @@ void IDMaskOperation::executePixel(float output[4], int x, int y, void *data)
const int buffer_width = input_buffer->getWidth();
float *buffer = input_buffer->getBuffer();
int buffer_index = (y * buffer_width + x);
- output[0] = (roundf(buffer[buffer_index]) == this->m_objectIndex) ? 1.0f : 0.0f;
+ output[0] = (roundf(buffer[buffer_index]) == m_objectIndex) ? 1.0f : 0.0f;
}
void IDMaskOperation::update_memory_buffer_partial(MemoryBuffer *output,