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-30 10:31:02 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-08-30 10:31:02 +0400
commitded5e9cd2324eaa28b85d17d0f8d394f72625c8a (patch)
treeeb3d9815e55a3ad8b66e5bf4a8c0b9cf26416c93 /intern/cycles/render/nodes.h
parent3f83d273b344221de5ec30c39c305ad5fa486f42 (diff)
clamp for Mix node
the implementation was following my early commit for Math node I haven't had a chance to run those through Brecht, but would like to do eventually. (they work fine though)
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 2e0acc32e51..650d6092f29 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -329,6 +329,8 @@ class MixNode : public ShaderNode {
public:
SHADER_NODE_CLASS(MixNode)
+ bool use_clamp;
+
ustring type;
static ShaderEnum type_enum;
};