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-14 07:11:36 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-06-14 07:11:36 +0400
commitfac417a3baf132e7d04540e1fbdefe7d3a1fa17b (patch)
treee167461558b6b239a12a16fefe16df5faeba2137 /source/blender/compositor/operations/COM_GlareThresholdOperation.h
parentcc82653b728408d5e30524549a419fe20fa6a967 (diff)
Fixed glares
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareThresholdOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_GlareThresholdOperation.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_GlareThresholdOperation.h b/source/blender/compositor/operations/COM_GlareThresholdOperation.h
index d5ec8ba93a6..70692565e27 100644
--- a/source/blender/compositor/operations/COM_GlareThresholdOperation.h
+++ b/source/blender/compositor/operations/COM_GlareThresholdOperation.h
@@ -32,8 +32,10 @@ private:
*/
SocketReader *inputProgram;
- float threshold;
-
+ /**
+ * @brief settings of the glare node.
+ */
+ NodeGlare *settings;
public:
GlareThresholdOperation();
@@ -52,8 +54,10 @@ public:
*/
void deinitExecution();
- void setThreshold(float threshold) {
- this->threshold = threshold;
+ void setGlareSettings(NodeGlare *settings) {
+ this->settings = settings;
}
+
+ void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]);
};
#endif