diff options
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r-- | intern/cycles/render/light.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/intern/cycles/render/light.h b/intern/cycles/render/light.h index 24ca0157eba..2f1df1c9417 100644 --- a/intern/cycles/render/light.h +++ b/intern/cycles/render/light.h @@ -19,6 +19,8 @@ #include "kernel_types.h" +#include "node.h" + #include "util_types.h" #include "util_vector.h" @@ -27,11 +29,13 @@ CCL_NAMESPACE_BEGIN class Device; class DeviceScene; class Progress; -class Shader; class Scene; +class Shader; -class Light { +class Light : public Node { public: + NODE_DECLARE; + Light(); LightType type; |