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:
authorDalai Felinto <dfelinto@gmail.com>2012-08-29 21:30:14 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-08-29 21:30:14 +0400
commitc052ebda8e13df7dfb662a4ebb9fd42fbe74d23e (patch)
tree5055fe630b240e0b68093045384cdf05535184d7 /intern/cycles/render/nodes.h
parent7a13bc2196336c4ec45e86947d9fcb0b8d61f74e (diff)
Cycles bugfix: [32431] Cycles Math Node : Clamp does not work
the OSL solution is slightly different than the svm, but I think it's fine. thanks Lukas Toenne for helping with a fix on the original patch
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r--intern/cycles/render/nodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index efd814e4ae6..2e0acc32e51 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -385,6 +385,8 @@ class MathNode : public ShaderNode {
public:
SHADER_NODE_CLASS(MathNode)
+ bool use_clamp;
+
ustring type;
static ShaderEnum type_enum;
};