preliminary support for multiple timeline sections

This commit is contained in:
itsmattkc
2019-10-05 07:33:27 +10:00
parent ea4f6f43c4
commit 3411e45774
26 changed files with 897 additions and 363 deletions
+5 -6
View File
@@ -107,8 +107,12 @@ void TimelineWidget::ConnectTimelineNode(TimelineOutput *node)
{
timeline_node_ = node;
int track_type = 0;
foreach (TimelineView* view, views_) {
view->ConnectTimelineNode(node);
view->ConnectTimelineNode(node->track_list(static_cast<TimelineOutput::TrackType>(track_type)));
track_type++;
}
}
@@ -145,11 +149,6 @@ void TimelineWidget::DeselectAll()
}
}
TimelineView *TimelineWidget::GetView(const TimelineWidget::ViewType &view_type)
{
return views_.at(view_type);
}
void TimelineWidget::RippleToIn()
{
RippleEditTo(olive::timeline::kTrimIn, false);