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:
Diffstat (limited to 'source/blender/compositor/operations/COM_BlurBaseOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_BlurBaseOperation.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/source/blender/compositor/operations/COM_BlurBaseOperation.h b/source/blender/compositor/operations/COM_BlurBaseOperation.h
index 8f7208274db..6d60abf09bf 100644
--- a/source/blender/compositor/operations/COM_BlurBaseOperation.h
+++ b/source/blender/compositor/operations/COM_BlurBaseOperation.h
@@ -29,19 +29,24 @@ class BlurBaseOperation : public NodeOperation, public QualityStepHelper {
private:
protected:
- /**
- * Cached reference to the inputProgram
- */
- SocketReader *inputProgram;
- SocketReader *inputSize;
- NodeBlurData *data;
+
BlurBaseOperation(DataType data_type);
float *make_gausstab(int rad);
float *make_dist_fac_inverse(int rad, int falloff);
- float size;
- bool deleteData;
- bool sizeavailable;
+
void updateSize(MemoryBuffer **memoryBuffers);
+
+ /**
+ * Cached reference to the inputProgram
+ */
+ SocketReader *m_inputProgram;
+ SocketReader *m_inputSize;
+ NodeBlurData *m_data;
+
+ float m_size;
+ bool m_deleteData;
+ bool m_sizeavailable;
+
public:
/**
* Initialize the execution
@@ -53,10 +58,10 @@ public:
*/
void deinitExecution();
- void setData(NodeBlurData *data) { this->data = data; }
+ void setData(NodeBlurData *data) { this->m_data = data; }
- void deleteDataWhenFinished() { this->deleteData = true; }
+ void deleteDataWhenFinished() { this->m_deleteData = true; }
- void setSize(float size) { this->size = size; sizeavailable = true; }
+ void setSize(float size) { this->m_size = size; this->m_sizeavailable = true; }
};
#endif