Cycles: Fix missing feature reported by the Volume node

This commit is contained in:
Sergey Sharybin 2016-05-23 12:58:25 +02:00
parent 065c052cfb
commit abe98de63c
1 changed files with 3 additions and 0 deletions

View File

@ -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;