diff options
Diffstat (limited to 'source/blender/compositor/intern/COM_CompositorContext.h')
-rw-r--r-- | source/blender/compositor/intern/COM_CompositorContext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_CompositorContext.h b/source/blender/compositor/intern/COM_CompositorContext.h index 2120c12b04e..223f900b391 100644 --- a/source/blender/compositor/intern/COM_CompositorContext.h +++ b/source/blender/compositor/intern/COM_CompositorContext.h @@ -51,6 +51,8 @@ private: */ CompositorQuality m_quality; + Scene *m_scene; + /** * @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. @@ -120,6 +122,9 @@ public: * @brief get the scene of the context */ const RenderData *getRenderData() const { return this->m_rd; } + + void setScene(Scene *scene) { m_scene = scene; } + Scene *getScene() const { return m_scene; } /** * @brief set the preview image hash table |