diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-23 13:58:25 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2016-06-08 22:45:40 +0300 |
commit | 49bb6c917342d803ac65143ed7d89b03a00454d5 (patch) | |
tree | e871ecdc66a549445a268adafac221cba4f27e72 /intern | |
parent | 71f3a9ebda52c6bb8497654fc8f2e31269fbef4d (diff) |
Cycles: Fix missing feature reported by the Volume node
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/nodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index 40fda070ec4..54a5220dcef 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -514,6 +514,9 @@ public: void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2); virtual int get_group() { return NODE_GROUP_LEVEL_1; } + virtual int get_feature() { + return ShaderNode::get_feature() | NODE_FEATURE_VOLUME; + } ClosureType closure; |