From 8708eee988cffaaaac0357efce3590da7ef76053 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 May 2016 00:18:32 +0200 Subject: Code refactor: nodify Cycles shader and lights. Differential Revision: https://developer.blender.org/D2016 --- intern/cycles/render/light.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'intern/cycles/render/light.h') 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; -- cgit v1.2.3