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
@@ -166,6 +166,11 @@ void ViewerWidget::DisconnectViewerNode()
ConnectViewerNode(nullptr);
}
ViewerOutput *ViewerWidget::GetConnectedViewer() const
{
return viewer_node_;
}
void ViewerWidget::SetTexture(OpenGLTexturePtr tex)
{
if (tex == nullptr) {