diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-08 01:18:32 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2016-06-08 22:45:40 +0300 |
commit | 8708eee988cffaaaac0357efce3590da7ef76053 (patch) | |
tree | 14dd4c0b72abe091fd8a218b7fe304dcf804cf6d /intern/cycles/render/light.h | |
parent | d8e0651c91099a657aea20e3bfc087e228406237 (diff) |
Code refactor: nodify Cycles shader and lights.
Differential Revision: https://developer.blender.org/D2016
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; |