[Bf-blender-cvs] [6cfa3ecd4d9] master: Fix T51791: Point Density doesn't work on GPU

Hristo Gueorguiev noreply at git.blender.org
Tue Jun 13 13:52:38 CEST 2017


Commit: 6cfa3ecd4d9848f27a0b1fe121e3ca2c29042e32
Author: Hristo Gueorguiev
Date:   Tue Jun 13 13:50:27 2017 +0200
Branches: master
https://developer.blender.org/rB6cfa3ecd4d9848f27a0b1fe121e3ca2c29042e32

Fix T51791: Point Density doesn't work on GPU

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

M	intern/cycles/render/nodes.h

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

diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index aac6ce2f375..687a86e3223 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -252,6 +252,7 @@ public:
 class PointDensityTextureNode : public ShaderNode {
 public:
 	SHADER_NODE_NO_CLONE_CLASS(PointDensityTextureNode)
+	virtual int get_group() { return NODE_GROUP_LEVEL_3; }
 
 	~PointDensityTextureNode();
 	ShaderNode *clone() const;




More information about the Bf-blender-cvs mailing list