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_ProjectorLensDistortionOperation.h
parent65e9216ccea172ee09da0a5ecc6515d7b4c5e443 (diff)
fix for [#31890] Lens Distortion inside Node group don't work
Diffstat (limited to 'source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.h b/source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.h
index 2e188617ab5..5023a5df507 100644
--- a/source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.h
+++ b/source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.h
@@ -35,6 +35,8 @@ private:
NodeLensDist *data;
float dispersion;
+ bool dispersionAvailable;
+
float kr, kr2;
public:
ProjectorLensDistortionOperation();
@@ -56,9 +58,10 @@ public:
void deinitExecution();
void setData(NodeLensDist *data) { this->data = data; }
- void setDispertion(float dispersion) { this->dispersion = dispersion; }
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
+ void updateDispersion(MemoryBuffer** inputBuffers);
+
};
#endif