Fix T49985: cycles standalone XML missing distant lights.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 12 Nov 2016 14:26:51 +0000 (15:26 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 12 Nov 2016 16:33:07 +0000 (17:33 +0100)
intern/cycles/render/light.cpp

index c43d646f515a1971c41cf90271510563c73b5aba..2245c861d5ab82944d59676c3f3d22210515c90b 100644 (file)
@@ -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);