footageviewer: direct in/out/markers to footage item rather than assuming a
sequence item
This commit is contained in:
@@ -68,6 +68,11 @@ void FootageViewerWidget::SetFootage(Footage *footage)
|
||||
}
|
||||
}
|
||||
|
||||
TimelinePoints *FootageViewerWidget::ConnectTimelinePoints()
|
||||
{
|
||||
return footage_ ? footage_ : nullptr;
|
||||
}
|
||||
|
||||
void FootageViewerWidget::StartFootageDrag()
|
||||
{
|
||||
if (!GetFootage()) {
|
||||
|
||||
@@ -15,6 +15,9 @@ public:
|
||||
Footage* GetFootage() const;
|
||||
void SetFootage(Footage* footage);
|
||||
|
||||
protected:
|
||||
virtual TimelinePoints* ConnectTimelinePoints() override;
|
||||
|
||||
private:
|
||||
Footage* footage_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user