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
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-22 18:29:25 +0300
commit9b9921b765bca2dacc7ec0633dcf0ab1ab68be68 (patch)
tree0eb5a3745a9eeb6596ba230a2de941fc5b0baa31 /intern/cycles/render/light.h
parente7d13b8a1da046d7bb78a3c0e21bbb575ed6074e (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;