reimplemented rectangle selection
This commit is contained in:
@@ -706,8 +706,6 @@ bool Clip::Retrieve()
|
||||
|
||||
texture_timestamp = frame->pts;
|
||||
|
||||
//}
|
||||
|
||||
ret = true;
|
||||
} else {
|
||||
qCritical() << "Failed to retrieve frame for clip" << name();
|
||||
|
||||
+2
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user