footageviewer: direct in/out/markers to footage item rather than assuming a

sequence item
This commit is contained in:
itsmattkc
2020-03-09 18:28:57 +11:00
parent 8cf9327936
commit 39215a7dd0
4 changed files with 36 additions and 24 deletions
+5
View File
@@ -68,6 +68,11 @@ void FootageViewerWidget::SetFootage(Footage *footage)
}
}
TimelinePoints *FootageViewerWidget::ConnectTimelinePoints()
{
return footage_ ? footage_ : nullptr;
}
void FootageViewerWidget::StartFootageDrag()
{
if (!GetFootage()) {
+3
View File
@@ -15,6 +15,9 @@ public:
Footage* GetFootage() const;
void SetFootage(Footage* footage);
protected:
virtual TimelinePoints* ConnectTimelinePoints() override;
private:
Footage* footage_;