Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-08 01:18:32 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2016-06-08 22:45:40 +0300
commit8708eee988cffaaaac0357efce3590da7ef76053 (patch)
tree14dd4c0b72abe091fd8a218b7fe304dcf804cf6d /intern/cycles/render/light.h
parentd8e0651c91099a657aea20e3bfc087e228406237 (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.h8
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;