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:36:35 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-08 02:29:02 +0300
commit12a5a605572d742335a4978966444d393792cd28 (patch)
treef06fa16602c175982ca2e5d6ec5b55f387a98cbc /source/blender/compositor/operations/COM_BokehBlurOperation.h
parenta808c5ae65e8a9fd2271274cbba3038846e5ffee (diff)
Cleanup: Use `_` suffix for non-public members in Compositor
To follow the style guide.
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;