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

Do not start a render when Timeline is empty

This solves a dead lock (when rendering with an empty timeline)
parent 1613bcbf
......@@ -131,6 +131,8 @@ void WorkflowRenderer::stopPreview()
void WorkflowRenderer::startPreview()
{
if ( m_mainWorkflow->getLength() <= 0 )
return ;
m_mediaPlayer->setMedia( m_media );
//Workflow part
......
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