Commit 787bcd1b authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Fixed crash when undoing split while rendering.

parent 002f8153
......@@ -300,7 +300,7 @@ void WorkflowRenderer::unsplit( Clip* origin, Clip* splitted, uint32_t trackI
//removing clip
Action::Generic* act = new Action::RemoveClip( m_mainWorkflow, trackId, trackType, splitted->getUuid() );
//resizing it
Action::Generic* act2 = new Action::ResizeClip( origin, splitted->getBegin(), oldEnd, true );
Action::Generic* act2 = new Action::ResizeClip( origin, origin->getBegin(), oldEnd, true );
//Push the actions onto the action stack
QMutexLocker lock( m_actionsMutex );
m_actions.addAction( act );
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