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:
authorJeroen Bakker <j.bakker@atmind.nl>2012-06-22 18:43:25 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-06-22 18:43:25 +0400
commit590f5fdbdfc2357c5b0490a406c9c39cf66de50a (patch)
tree63b756081f9c13c1e9549b4c8df9793d5b9b547a /source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h
parent65e9216ccea172ee09da0a5ecc6515d7b4c5e443 (diff)
fix for [#31890] Lens Distortion inside Node group don't work
Diffstat (limited to 'source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h
index 34656f38a09..21babd11295 100644
--- a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h
+++ b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h
@@ -36,6 +36,7 @@ private:
float dispersion;
float distortion;
+ bool valuesAvailable;
float kr, kg, kb;
float kr4, kg4, kb4;
float maxk;
@@ -62,13 +63,12 @@ public:
void deinitExecution();
void setData(NodeLensDist *data) { this->data = data; }
- void setDispertion(float dispersion) { this->dispersion = dispersion; }
- void setDistortion(float distortion) { this->distortion = distortion; }
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
private:
void determineUV(float *result, float x, float y) const;
+ void updateDispersionAndDistortion(MemoryBuffer** inputBuffers);
};
#endif