allowed access to the viewer node from the viewer widgets

This commit is contained in:
itsmattkc
2019-12-16 03:02:28 +11:00
parent 4ddeadaf46
commit b96fd7ae45
4 changed files with 14 additions and 0 deletions
+5
View File
@@ -107,6 +107,11 @@ rational ViewerPanel::GetTime()
return viewer_->GetTime();
}
ViewerOutput *ViewerPanel::GetConnectedViewer() const
{
return viewer_->GetConnectedViewer();
}
void ViewerPanel::SetTime(const int64_t &timestamp)
{
viewer_->SetTime(timestamp);
+2
View File
@@ -62,6 +62,8 @@ public:
rational GetTime();
ViewerOutput* GetConnectedViewer() const;
public slots:
void SetTime(const int64_t& timestamp);