diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:00:50 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | ea79efef70da14100b591b50dcada819808f20b6 (patch) | |
tree | 4faf296870f1ab27ee33fee2b331fdb6b2d2bec4 /source/blender/compositor/operations/COM_MaskOperation.h | |
parent | ecb8a574c752068de9f8d9eb98f54db1569df2f7 (diff) |
Cleanup: remove `this->` for `m_` prefixed members in Compositor
For cleaning old code style as new code usually omit it.
Diffstat (limited to 'source/blender/compositor/operations/COM_MaskOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_MaskOperation.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/compositor/operations/COM_MaskOperation.h b/source/blender/compositor/operations/COM_MaskOperation.h index cc7eb0c022c..8ad3044b6cd 100644 --- a/source/blender/compositor/operations/COM_MaskOperation.h +++ b/source/blender/compositor/operations/COM_MaskOperation.h @@ -64,36 +64,36 @@ class MaskOperation : public MultiThreadedOperation { void setMask(Mask *mask) { - this->m_mask = mask; + m_mask = mask; } void setMaskWidth(int width) { - this->m_maskWidth = width; - this->m_maskWidthInv = 1.0f / (float)width; - this->m_mask_px_ofs[0] = this->m_maskWidthInv * 0.5f; + m_maskWidth = width; + m_maskWidthInv = 1.0f / (float)width; + m_mask_px_ofs[0] = m_maskWidthInv * 0.5f; } void setMaskHeight(int height) { - this->m_maskHeight = height; - this->m_maskHeightInv = 1.0f / (float)height; - this->m_mask_px_ofs[1] = this->m_maskHeightInv * 0.5f; + m_maskHeight = height; + m_maskHeightInv = 1.0f / (float)height; + m_mask_px_ofs[1] = m_maskHeightInv * 0.5f; } void setFramenumber(int frame_number) { - this->m_frame_number = frame_number; + m_frame_number = frame_number; } void setFeather(bool feather) { - this->m_do_feather = feather; + m_do_feather = feather; } void setMotionBlurSamples(int samples) { - this->m_rasterMaskHandleTot = MIN2(MAX2(1, samples), CMP_NODE_MASK_MBLUR_SAMPLES_MAX); + m_rasterMaskHandleTot = MIN2(MAX2(1, samples), CMP_NODE_MASK_MBLUR_SAMPLES_MAX); } void setMotionBlurShutter(float shutter) { - this->m_frame_shutter = shutter; + m_frame_shutter = shutter; } void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; |