[Bf-blender-cvs] [478e59a] master: Fix T49985: cycles standalone XML missing distant lights.

Brecht Van Lommel noreply at git.blender.org
Sat Nov 12 17:33:52 CET 2016


Commit: 478e59a04ec8eec36217fbc0302e0fbe5ed519a9
Author: Brecht Van Lommel
Date:   Sat Nov 12 15:26:51 2016 +0100
Branches: master
https://developer.blender.org/rB478e59a04ec8eec36217fbc0302e0fbe5ed519a9

Fix T49985: cycles standalone XML missing distant lights.

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

M	intern/cycles/render/light.cpp

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

diff --git a/intern/cycles/render/light.cpp b/intern/cycles/render/light.cpp
index c43d646..2245c86 100644
--- a/intern/cycles/render/light.cpp
+++ b/intern/cycles/render/light.cpp
@@ -106,6 +106,7 @@ NODE_DEFINE(Light)
 
 	static NodeEnum type_enum;
 	type_enum.insert("point", LIGHT_POINT);
+	type_enum.insert("distant", LIGHT_DISTANT);
 	type_enum.insert("background", LIGHT_BACKGROUND);
 	type_enum.insert("area", LIGHT_AREA);
 	type_enum.insert("spot", LIGHT_SPOT);




More information about the Bf-blender-cvs mailing list