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-14 00:01:04 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commita2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch)
treed409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/operations/COM_BokehBlurOperation.h
parentea79efef70da14100b591b50dcada819808f20b6 (diff)
Cleanup: replace members `m_` prefix by `_` suffix in Compositor
To convert old code to the current convention and use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_BokehBlurOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_BokehBlurOperation.h24
1 files changed, 12 insertions, 12 deletions
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;