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

Nasty patch to have independant clips.

This will have to go soon, and will require a few adjustments between Timeline and its backend
parent 88fca5d1
......@@ -199,6 +199,9 @@ void TracksView::dragEnterEvent( QDragEnterEvent* event )
Clip* clip = Library::getInstance()->getClip( uuid );
if ( !clip ) return;
//FIXME: this leaks, but at least we have independant clips.
clip = new Clip( clip );
if ( m_dragItem ) delete m_dragItem;
m_dragItem = new GraphicsMovieItem( clip );
m_dragItem->setHeight( tracksHeight() );
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