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-07 21:05:21 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-22 18:29:25 +0300
commit0062d9f58c74e6dd021a3517e0dcba41c414ac97 (patch)
treed4d1e425b81b5f8b53fb9251195b4749a237452f /intern/cycles/render/integrator.h
parent226dc75e7791fae379c5b1b3da5a1267f72277f9 (diff)
Code refactor: nodify Cycles integrator.
Differential Revision: https://developer.blender.org/D2016
Diffstat (limited to 'intern/cycles/render/integrator.h')
-rw-r--r--intern/cycles/render/integrator.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/intern/cycles/render/integrator.h b/intern/cycles/render/integrator.h
index bb4e9c7056f..7d2cda3e116 100644
--- a/intern/cycles/render/integrator.h
+++ b/intern/cycles/render/integrator.h
@@ -19,14 +19,18 @@
#include "kernel_types.h"
+#include "node.h"
+
CCL_NAMESPACE_BEGIN
class Device;
class DeviceScene;
class Scene;
-class Integrator {
+class Integrator : public Node {
public:
+ NODE_DECLARE;
+
int min_bounce;
int max_bounce;
@@ -83,7 +87,6 @@ public:
void device_update(Device *device, DeviceScene *dscene, Scene *scene);
void device_free(Device *device, DeviceScene *dscene);
- bool modified(const Integrator& integrator);
void tag_update(Scene *scene);
};