[Bf-blender-cvs] [49bb6c9] compositor-2016: Cycles: Fix missing feature reported by the Volume node

Sergey Sharybin noreply at git.blender.org
Wed Jun 8 21:49:27 CEST 2016


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;




More information about the Bf-blender-cvs mailing list