minor improvements

This commit is contained in:
itsmattkc
2019-09-17 21:25:00 +10:00
parent 1207e180ec
commit 16a4897236
3 changed files with 56 additions and 7 deletions
-7
View File
@@ -310,13 +310,6 @@ void Core::CreateNewSequence()
// Connect timeline end point to renderer
NodeParam::ConnectEdge(tb->length_output(), rp->length_input());
// FIXME: Test code
AlphaOverBlend* blend = new AlphaOverBlend();
new_sequence->AddNode(blend);
OpacityNode* opac = new OpacityNode();
new_sequence->AddNode(opac);
// End test code
vo->AttachViewer(olive::panel_focus_manager->MostRecentlyFocused<ViewerPanel>());
tb->AttachTimeline(olive::panel_focus_manager->MostRecentlyFocused<TimelinePanel>());
olive::panel_focus_manager->MostRecentlyFocused<NodePanel>()->SetGraph(new_sequence.get());