Commit: 49bb6c917342d803ac65143ed7d89b03a00454d5
Author: Sergey Sharybin
Date:   Mon May 23 12:58:25 2016 +0200
Branches: compositor-2016
https://developer.blender.org/rB49bb6c917342d803ac65143ed7d89b03a00454d5

Cycles: Fix missing feature reported by the Volume node

===================================================================

M       intern/cycles/render/nodes.h

===================================================================

diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index 40fda070..54a5220 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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to