gizmos: implemented pathway for node to draw on the viewer

This commit is contained in:
itsmattkc
2020-04-27 04:34:36 +10:00
parent ac3f49a845
commit 1cca9de7c5
15 changed files with 78 additions and 3 deletions
+5
View File
@@ -335,6 +335,11 @@ ColorManager *ViewerWidget::color_manager() const
return main_gl_widget()->color_manager();
}
void ViewerWidget::SetGizmos(Node *node)
{
main_gl_widget()->SetGizmos(node);
}
void ViewerWidget::UpdateTextureFromNode(const rational& time)
{
if (!GetConnectedNode() || time >= GetConnectedNode()->Length()) {