reimplemented rectangle selection

This commit is contained in:
itsmattkc
2019-04-04 03:07:04 +11:00
parent 673bcc0bf7
commit e708791e90
3 changed files with 35 additions and 28 deletions
-2
View File
@@ -706,8 +706,6 @@ bool Clip::Retrieve()
texture_timestamp = frame->pts;
//}
ret = true;
} else {
qCritical() << "Failed to retrieve frame for clip" << name();
+2 -1
View File
@@ -261,11 +261,12 @@ bool Track::IsTransitionSelected(Transition *t)
void Track::SelectArea(long in, long out)
{
selections_.append(Selection(in, out, this));
Selection::Tidy(selections_);
}
void Track::SelectClip(Clip* c)
{
selections_.append(Selection(c->timeline_in(), c->timeline_out(), this));
SelectArea(c->timeline_in(), c->timeline_out());
}
void Track::SelectAll()