From a2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 Mon Sep 17 00:00:00 2001 From: Manuel Castilla Date: Wed, 13 Oct 2021 23:01:04 +0200 Subject: Cleanup: replace members `m_` prefix by `_` suffix in Compositor To convert old code to the current convention and use a single code style. --- .../compositor/operations/COM_BokehBlurOperation.h | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'source/blender/compositor/operations/COM_BokehBlurOperation.h') diff --git a/source/blender/compositor/operations/COM_BokehBlurOperation.h b/source/blender/compositor/operations/COM_BokehBlurOperation.h index 7b0f0710a00..0b70b7a714a 100644 --- a/source/blender/compositor/operations/COM_BokehBlurOperation.h +++ b/source/blender/compositor/operations/COM_BokehBlurOperation.h @@ -25,17 +25,17 @@ namespace blender::compositor { class BokehBlurOperation : public MultiThreadedOperation, public QualityStepHelper { private: - SocketReader *m_inputProgram; - SocketReader *m_inputBokehProgram; - SocketReader *m_inputBoundingBoxReader; + SocketReader *inputProgram_; + SocketReader *inputBokehProgram_; + SocketReader *inputBoundingBoxReader_; void updateSize(); - float m_size; - bool m_sizeavailable; + float size_; + bool sizeavailable_; - float m_bokehMidX; - float m_bokehMidY; - float m_bokehDimension; - bool m_extend_bounds; + float bokehMidX_; + float bokehMidY_; + float bokehDimension_; + bool extend_bounds_; public: BokehBlurOperation(); @@ -64,8 +64,8 @@ class BokehBlurOperation : public MultiThreadedOperation, public QualityStepHelp void setSize(float size) { - m_size = size; - m_sizeavailable = true; + size_ = size; + sizeavailable_ = true; } void executeOpenCL(OpenCLDevice *device, @@ -77,7 +77,7 @@ class BokehBlurOperation : public MultiThreadedOperation, public QualityStepHelp void setExtendBounds(bool extend_bounds) { - m_extend_bounds = extend_bounds; + extend_bounds_ = extend_bounds; } void determine_canvas(const rcti &preferred_area, rcti &r_area) override; -- cgit v1.2.3