diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_IDMaskOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_IDMaskOperation.cc | 2 |
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, |