diff options
author | Monique Dewanchand <m.dewanchand@atmind.nl> | 2012-06-01 15:50:32 +0400 |
---|---|---|
committer | Monique Dewanchand <m.dewanchand@atmind.nl> | 2012-06-01 15:50:32 +0400 |
commit | 5fbeda7efd62e251dac2af881de9fe042f30a7a7 (patch) | |
tree | 573791adbcfc7725a841fc7e213494b80a8eeae2 /source/blender/compositor/operations/COM_BlurBaseOperation.h | |
parent | 7941ebf66e15df1ca4b7b5439a5bbc90254479f4 (diff) |
Optimize Gaussian blurs
Diffstat (limited to 'source/blender/compositor/operations/COM_BlurBaseOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_BlurBaseOperation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_BlurBaseOperation.h b/source/blender/compositor/operations/COM_BlurBaseOperation.h index 13e7eb52b77..24002588413 100644 --- a/source/blender/compositor/operations/COM_BlurBaseOperation.h +++ b/source/blender/compositor/operations/COM_BlurBaseOperation.h @@ -39,6 +39,7 @@ protected: float *make_gausstab(int rad); float size; bool deleteData; + bool sizeavailable; void updateSize(MemoryBuffer **memoryBuffers); public: /** @@ -54,5 +55,7 @@ public: void setData(NodeBlurData *data) {this->data = data;} void deleteDataWhenFinished() {this->deleteData = true;} + + void setSize(float size) {this->size = size; sizeavailable = true;} }; #endif |