diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2012-08-30 10:31:02 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2012-08-30 10:31:02 +0400 |
commit | ded5e9cd2324eaa28b85d17d0f8d394f72625c8a (patch) | |
tree | eb3d9815e55a3ad8b66e5bf4a8c0b9cf26416c93 /intern/cycles/render/nodes.h | |
parent | 3f83d273b344221de5ec30c39c305ad5fa486f42 (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.h | 2 |
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; }; |