Skip to content

Commit 31fa918

Browse files
committed
[dataflow][rendering] allow to edit graphs from rendering controller.
1 parent 9da02b3 commit 31fa918

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Dataflow/Rendering/Renderer/RenderGraphController.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class RA_DATAFLOW_API RenderGraphController : public ControllableRenderer::Rende
5050
/// Call this to set a graph to load before OpenGL is OK
5151
void deferredLoadGraph( const std::string& filename );
5252

53+
// allow to "edit" the graph
54+
RenderingGraph* getGraph() { return m_renderGraph.get(); }
55+
5356
protected:
5457
/// The controlled graph.
5558
/// The controller own the graph and manage loading/saving of the renderer

0 commit comments

Comments
 (0)