[Bf-blender-cvs] [83addc0] master: Cleanup: SubsurfaceScatteringNode is a subclass of BsdfNode, no need to set the value again.

Thomas Dinges noreply at git.blender.org
Fri Dec 25 12:01:01 CET 2015


Commit: 83addc0a1d9283e5eddb124f8e40c9b167e7da77
Author: Thomas Dinges
Date:   Fri Dec 25 11:57:37 2015 +0100
Branches: master
https://developer.blender.org/rB83addc0a1d9283e5eddb124f8e40c9b167e7da77

Cleanup: SubsurfaceScatteringNode is a subclass of BsdfNode, no need to set the value again.

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

M	intern/cycles/render/nodes.h

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

diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index 5d0a9eb..b88227a 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -355,7 +355,6 @@ public:
 	SHADER_NODE_CLASS(SubsurfaceScatteringNode)
 	bool has_surface_bssrdf() { return true; }
 	bool has_bssrdf_bump();
-	bool has_spatial_varying() { return true; }
 
 	static ShaderEnum falloff_enum;
 };




More information about the Bf-blender-cvs mailing list