diff --git a/src/Dataflow/Rendering/Renderer/RenderGraphController.hpp b/src/Dataflow/Rendering/Renderer/RenderGraphController.hpp index 5e94bf447c4..7c4f3ff9d06 100644 --- a/src/Dataflow/Rendering/Renderer/RenderGraphController.hpp +++ b/src/Dataflow/Rendering/Renderer/RenderGraphController.hpp @@ -50,6 +50,9 @@ class RA_DATAFLOW_API RenderGraphController : public ControllableRenderer::Rende /// Call this to set a graph to load before OpenGL is OK void deferredLoadGraph( const std::string& filename ); + // allow to "edit" the graph + RenderingGraph* getGraph() { return m_renderGraph.get(); } + protected: /// The controlled graph. /// The controller own the graph and manage loading/saving of the renderer