fixed bug where ripples re-added deleted clips
This commit is contained in:
@@ -195,6 +195,17 @@ Clip *Track::GetClipFromPoint(long point)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool Track::ContainsClip(Clip *c)
|
||||
{
|
||||
ClipPtr clip;
|
||||
foreach (clip, clips_) {
|
||||
if (clip.get() == c) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Track *Track::Previous()
|
||||
{
|
||||
int index = Index();
|
||||
|
||||
Reference in New Issue
Block a user