footage combobox returns streams rather than footage

This commit is contained in:
itsmattkc
2019-09-19 00:51:45 +10:00
parent a059e9f72b
commit 088b0543eb
16 changed files with 94 additions and 23 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ void TimelineView::ImportTool::DragDrop(QDropEvent *event)
opacity->setParent(&node_memory_manager);
clip->set_length(ghost->Length());
media->SetFootage(ghost->data(0).value<StreamPtr>()->footage());
media->SetFootage(ghost->data(0).value<StreamPtr>());
NodeParam::ConnectEdge(opacity->texture_output(), clip->texture_input());
NodeParam::ConnectEdge(media->texture_output(), opacity->texture_input());