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:
authorCampbell Barton <ideasman42@gmail.com>2012-06-22 19:06:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-22 19:06:52 +0400
commit0b0ac3aa9ee94ad8020639e9d1df4c94a23a3fcf (patch)
tree3652f4e913b6231abc4708bea8202ad651f1a547 /source/blender/compositor/intern/COM_CompositorContext.h
parent590f5fdbdfc2357c5b0490a406c9c39cf66de50a (diff)
remove scene from new compositor classes. only needs RenderData
Diffstat (limited to 'source/blender/compositor/intern/COM_CompositorContext.h')
-rw-r--r--source/blender/compositor/intern/COM_CompositorContext.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/intern/COM_CompositorContext.h b/source/blender/compositor/intern/COM_CompositorContext.h
index 93872f4839f..81fd81b4117 100644
--- a/source/blender/compositor/intern/COM_CompositorContext.h
+++ b/source/blender/compositor/intern/COM_CompositorContext.h
@@ -51,11 +51,11 @@ private:
CompositorQuality quality;
/**
- * @brief Reference to the scene that is being composited.
+ * @brief Reference to the render data that is being composited.
* This field is initialized in ExecutionSystem and must only be read from that point on.
* @see ExecutionSystem
*/
- Scene *scene;
+ RenderData *rd;
/**
* @brief reference to the bNodeTree
@@ -93,7 +93,7 @@ public:
/**
* @brief set the scene of the context
*/
- void setScene(Scene *scene) { this->scene = scene; }
+ void setRenderData(RenderData *rd) { this->rd = rd; }
/**
* @brief set the bnodetree of the context
@@ -118,7 +118,7 @@ public:
/**
* @brief get the scene of the context
*/
- const Scene *getScene() const { return this->scene; }
+ const RenderData *getRenderData() const { return this->rd; }
/**
* @brief set the quality