diff options
author | Thomas Dinges <blender@dingto.org> | 2013-08-01 00:05:13 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-08-01 00:05:13 +0400 |
commit | 2a25acb108feed74514d01517e1cb870c4d6851c (patch) | |
tree | dbb611d644fdd7f32282c79b7adf863443982654 /intern/cycles/render/nodes.h | |
parent | b6024a0e758bdca254c2ae824f04b37912661eaf (diff) |
Cycles / Vector Transform node:
* Code cleanup to avoid duplicated enum code.
* Added a third type for conversion next to Point and Vector: Normal. This is basically the same result as with the Vector type, but normalizes the vector at the end.
Thanks to Brecht for code review!
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r-- | intern/cycles/render/nodes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index ed4d24c774a..46b426ea20b 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -513,8 +513,7 @@ public: ustring convert_to; static ShaderEnum type_enum; - static ShaderEnum convert_from_enum; - static ShaderEnum convert_to_enum; + static ShaderEnum convert_space_enum; }; class BumpNode : public ShaderNode { |