Commit d5c38cbf authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Close the render window when the render is complete

parent c81a4f9d
......@@ -95,6 +95,12 @@ void WorkflowFileRenderer::cancelButtonClicked()
m_dialog->done( 0 );
}
void
WorkflowFileRenderer::__endReached()
{
cancelButtonClicked();
}
float WorkflowFileRenderer::getFps() const
{
return m_outputFps;
......
......@@ -58,7 +58,9 @@ protected:
private slots:
void stop();
void cancelButtonClicked();
void __frameChanged( qint64 frame, MainWorkflow::FrameChangedReason reason );
void __frameChanged( qint64 frame,
MainWorkflow::FrameChangedReason reason );
void __endReached();
signals:
void imageUpdated( const uchar* image );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment