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

TracksView: Commenting out useless and buggy code.

This causes bug, and I can't find any reason to have this anymore.
parent be39d5b2
......@@ -320,7 +320,7 @@ EffectUser::moveEffect( EffectHelper *helper, qint64 newPos )
return ;
}
}
qWarning() << "Can't find effect" << helper->uuid();
qWarning() << this << "Can't find effect" << helper->uuid();
}
void
......
......@@ -961,15 +961,15 @@ TracksView::mouseMoveEvent( QMouseEvent *event )
ClipHelper *clipHelper = qobject_cast<ClipHelper*>( mediaItem->helper() );
Q_ASSERT( clipHelper != NULL );
m_effectTarget = mediaItem;
effectItem->effectHelper()->setTarget( clipHelper->clipWorkflow() );
// effectItem->effectHelper()->setTarget( clipHelper->clipWorkflow() );
break ;
}
}
if ( m_effectTarget == NULL ) //Avoid doing this all the time.
{
GraphicsTrack *track = getTrack( m_actionItem->trackType(), m_actionItem->trackNumber() );
effectItem->effectHelper()->setTarget( track->trackWorkflow() );
}
// if ( m_effectTarget == NULL ) //Avoid doing this all the time.
// {
// GraphicsTrack *track = getTrack( m_actionItem->trackType(), m_actionItem->trackNumber() );
// effectItem->effectHelper()->setTarget( track->trackWorkflow() );
// }
}
}
else if ( event->modifiers() == Qt::NoModifier &&
......
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