Commit c1f446b8 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Clip: Re-enable saving, assuming that media is already in workspace.

(Hint: this is a broken assumption for now)
parent 1c140bb2
......@@ -222,12 +222,7 @@ Clip::save( QXmlStreamWriter &project )
project.writeStartElement( "clip" );
if ( isRootClip() == true )
{
// This need to go away. That's not the Clip's job, and we don't want to refer the workspace from all clips
Q_ASSERT(false);
// if ( m_media->isInWorkspace() == true )
// project.writeAttribute( "media", Workspace::toWorkspaceDir( m_media ) );
// else
// project.writeAttribute( "media", m_media->fileInfo()->absoluteFilePath() );
project.writeAttribute( "media", m_media->fileInfo()->fileName() );
}
else
{
......
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