[Bf-blender-cvs] [2566652] master: Cycles: fixed a typo that would crash shaders that use the "Is Diffuse Ray" output of the LightPath node

Stefan Werner noreply at git.blender.org
Mon Jun 13 13:34:10 CEST 2016


Commit: 2566652ae6c07f4f7a2edd87dbac500b8dc910bf
Author: Stefan Werner
Date:   Mon Jun 13 13:16:56 2016 +0200
Branches: master
https://developer.blender.org/rB2566652ae6c07f4f7a2edd87dbac500b8dc910bf

Cycles: fixed a typo that would crash shaders that use the "Is Diffuse Ray" output of the LightPath node

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

M	intern/cycles/render/nodes.cpp

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

diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp
index 6530bff..6d6284b 100644
--- a/intern/cycles/render/nodes.cpp
+++ b/intern/cycles/render/nodes.cpp
@@ -2985,7 +2985,7 @@ NODE_DEFINE(LightPathNode)
 
 	SOCKET_OUT_FLOAT(is_camera_ray, "Is Camera Ray");
 	SOCKET_OUT_FLOAT(is_shadow_ray, "Is Shadow Ray");
-	SOCKET_OUT_FLOAT(is_diffus_ray, "Is Diffus Ray");
+	SOCKET_OUT_FLOAT(is_diffus_ray, "Is Diffuse Ray");
 	SOCKET_OUT_FLOAT(is_glossy_ray, "Is Glossy Ray");
 	SOCKET_OUT_FLOAT(is_singular_ray, "Is Singular Ray");
 	SOCKET_OUT_FLOAT(is_reflection_ray, "Is Reflection Ray");




More information about the Bf-blender-cvs mailing list