Cycles: Fix missing feature reported by the Volume node
This commit is contained in:
@@ -514,6 +514,9 @@ public:
|
|||||||
|
|
||||||
void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2);
|
void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2);
|
||||||
virtual int get_group() { return NODE_GROUP_LEVEL_1; }
|
virtual int get_group() { return NODE_GROUP_LEVEL_1; }
|
||||||
|
virtual int get_feature() {
|
||||||
|
return ShaderNode::get_feature() | NODE_FEATURE_VOLUME;
|
||||||
|
}
|
||||||
|
|
||||||
ClosureType closure;
|
ClosureType closure;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user